discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

editor hints

RW
Ray West
Thu, Jan 14, 2021 3:06 PM

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

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
M
MichaelAtOz
Fri, Jan 15, 2021 1:01 AM

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


From: Discuss [mailto:discuss-bounces@lists.openscad.org] 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

--
This email has been checked for viruses by AVG.
https://www.avg.com

Preferences/Editor/(scroll down)/Autocomplete/Enable-autocomplete. _____ From: Discuss [mailto:discuss-bounces@lists.openscad.org] 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 -- This email has been checked for viruses by AVG. https://www.avg.com
L
lar3ry
Fri, Jan 15, 2021 4:43 AM

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/

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/
T
TLC123
Fri, Jan 15, 2021 8:47 AM

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

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

Is there a way to edit enable/disable/add parts of the dictionary for the hints? -- Sent from: http://forum.openscad.org/
TP
Torsten Paul
Fri, Jan 15, 2021 11:52 AM

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.

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.
RW
Ray West
Fri, Jan 15, 2021 1:51 PM

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 [mailto:discuss-bounces@lists.openscad.org] *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

http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient
Virus-free. www.avg.com
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

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 [mailto:discuss-bounces@lists.openscad.org] *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 > > > <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> > Virus-free. www.avg.com > <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> > > > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org