editor configurability

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

editor configurability

jon_bondy
A long shot...

Any chance we can make some of the editor function keys configurable?  
So much of this is different than the IDEs that I use for other
languages.  I'm thinking in particular about the Find Again key
(currently Ctrl-G).

Thanks!

Jon

_______________________________________________
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 configurability

kintel
Administrator
> On Apr 18, 2016, at 10:46 AM, jon <[hidden email]> wrote:
>
> Any chance we can make some of the editor function keys configurable?  So much of this is different than the IDEs that I use for other languages.  I'm thinking in particular about the Find Again key (currently Ctrl-G).
>
No plans at the moment. If we do this, we’d probably make it a config file.
The challenge with keyboard bindings is to properly distinguish between editor commands and application/menu shortcuts. Different OS’es and window managers handle this separately, so it can get a bit messy.

 -Marius



_______________________________________________
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 configurability

Parkinbot
good point. This might also solve the nasty *fat finger* problem. F5 and F6 are too close to not be mixed up occasionally.
Even a F6 run is breakable, abortion can take minutes to happen. So I usually prefer to save my work (which works), quit OpenSCAD and start it again. The problem: the cache is lost.
Reply | Threaded
Open this post in threaded view
|

Re: editor configurability

Experimentalist
This post was updated on .
In the last few days I switched to VS code which allows complete control and customisation of editor keys, syntax highlighting, intelligent code completion, code snippets, ..., I doubt I will ever look back.

https://www.visualstudio.com/en-us/products/code-vs.aspx

I installed this language add on in VS code:

https://github.com/efbenson/vscode-lang-scad.git

. . .  I then ticked the 'Automatic reload and preview' in the design menu of OpenSCAD

The only thing that frustrates me now is having to keep the code editor open in OpenSCAD for quick mouse access to the render and export to STL buttons.

Its been a revelation to me, hope it helps you.