editor hints

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

editor hints

mondo

Hi, just been trying version 2021.01-RC5 . How do I turn off the hints/tips/auto complete that appear when I start typing. I was hoping there  would be a setting to disable in the preferences, but if there is, I can't see it


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: editor hints

MichaelAtOz
Administrator

Preferences/Editor/(scroll down)/Autocomplete/Enable-autocomplete.

 


From: Discuss [mailto:[hidden email]] On Behalf Of Ray West
Sent: Fri, 15 Jan 2021 02:06
To: OpenSCAD general discussion
Subject: [OpenSCAD] editor hints

 

Hi, just been trying version 2021.01-RC5 . How do I turn off the hints/tips/auto complete that appear when I start typing. I was hoping there  would be a setting to disable in the preferences, but if there is, I can't see it


Virus-free. www.avg.com

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
OpenSCAD Admin - email* me if you need anything, or if I've done something stupid...
* on the Forum, click on my MichaelAtOz label, there is a link to email me.

Unless specifically shown otherwise above, my contribution is in the Public Domain;
to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work.
Obviously inclusion of works of previous authors is not included in the above.
Reply | Threaded
Open this post in threaded view
|

Re: editor hints

lar3ry
MichaelAtOz wrote
> Preferences/Editor/(scroll down)/Autocomplete/Enable-autocomplete.

Thanks!!

I really wish that it wasn't all or nothing. I don't mind the option to
autocomplete up to just before the '(', but the rest of the line just gets
in the way. It's particularly annoying to me, perhaps just because of the
way I typically write the code.

I'll often start with an object, say cylinder();, then I'll move up one line
and do a translate or rotate. That's when it bites me. I want to see the
line I just wrote, to guide me in setting the values, but of course, the
autocomplete hides the line I want to see. I could try to train myself to
put a space in before the '(', I suppose.






--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: editor hints

TLC123
Is there a way to edit enable/disable/add parts of the dictionary for the
hints?



--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
tp3
Reply | Threaded
Open this post in threaded view
|

Re: editor hints

tp3
On 15.01.21 09:47, TLC123 wrote:
> I really wish that it wasn't all or nothing.

I don't know what that means, but you can trigger the
popup via CTRL-Space if the autocomplete is disabled.
(hopefully that will also become configurable soon).

> Is there a way to edit enable/disable/add parts of the
> dictionary for the hints?

No, and I doubt it ever will be, however it should
learn to complete user functions at some point.

There's a template feature which can be used to insert
fixed text snippets via ALT+Insert (or context menu).
The small set shipped with OpenSCAD can be extended
by placing files into the config folder.

Example:

<User Config Path>/templates/intersection.json

---
{
    "key" : "intersection",
    "content" : "intersection() {\n\t^~^\n}"
}
---

The ^~^ is the position the cursor will be placed at
after inserting the template (or just at the end if
it's missing).

ciao,
  Torsten.



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-- Torsten
Reply | Threaded
Open this post in threaded view
|

Re: editor hints

mondo
In reply to this post by MichaelAtOz

Thanks - I didn't notice the scroll bar...😅

(and I only just realised I never 'replied to list'... 😬)

On 15/01/2021 01:01, MichaelAtOz wrote:

Preferences/Editor/(scroll down)/Autocomplete/Enable-autocomplete.

 


From: Discuss [[hidden email]] On Behalf Of Ray West
Sent: Fri, 15 Jan 2021 02:06
To: OpenSCAD general discussion
Subject: [OpenSCAD] editor hints

 

Hi, just been trying version 2021.01-RC5 . How do I turn off the hints/tips/auto complete that appear when I start typing. I was hoping there  would be a setting to disable in the preferences, but if there is, I can't see it


Virus-free. www.avg.com

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org