CodeEditor Suggestions

Forum for suggestions and new feature requests for SDStudio Design Environment
User avatar
Louise
Registered User
Posts: 15
Joined: Thu Dec 14, 2017 4:53 pm
Location: SDS-LUA-PB

Re: CodeEditor Suggestions

Post by Louise »

Oh yes, that's great. Thank you
User avatar
abood1987
Registered User
Posts: 69
Joined: Sat Jun 15, 2013 3:03 pm
Location: Egypt مصر أم الدنيا
Contact:

Post by abood1987 »

Serkan wrote: Sun Dec 17, 2017 12:54 pm
All of them are already exist in the SDStudio
SDStudio uses a theme file for script editor appearance ,currently there are 22 editor themes ,
An editor theme outomatically selected according to current application theme (dark ,light,blue etc..)

Currently there is no visual theme editor

An editor theme is an XML file and can easily be modified by any text editor

Here is a theme file that SDStudio uses

SDStudio Blue.zip
:o that is good

The other demand is :
Quick Options to select and insert colors in the Editor :P

Image
User avatar
Louise
Registered User
Posts: 15
Joined: Thu Dec 14, 2017 4:53 pm
Location: SDS-LUA-PB

Post by Louise »

Hi dear serkan,
Another simple idea but useful, for you :
  • button in Sdstudio editor(RibbonBar) to change the case of selected text (lowercase / uppercase).
  • Paste as Comment (button in the editor ribbonbar). that's mean paste all the text in the clipboard as MultiLine comment format.
  • Find in files
  • GoTo Dialog.
  • Update AutoComplete list when we define new (variable ,table,function ,... ) or delete them.
Last edited by Louise on Sat Jan 06, 2018 9:42 am, edited 2 times in total.
User avatar
abood1987
Registered User
Posts: 69
Joined: Sat Jun 15, 2013 3:03 pm
Location: Egypt مصر أم الدنيا
Contact:

Post by abood1987 »

another idea related to the Editor
You can add a button to check lua Code errors written by the programmer inadvertently on the menu bar instead of testing in Runtime

Image
User avatar
Serkan
Developer
Developer
Posts: 216
Joined: Thu Jul 04, 2013 8:44 pm
Location: Windows.h
Contact:

Post by Serkan »

abood1987 wrote: Fri Jan 05, 2018 9:55 pm another idea related to the Editor
You can add a button to check lua Code errors written by the programmer inadvertently on the menu bar instead of testing in Runtime
Hi
Thanks for your suggestion
Only syntax checking is possible in design time , and it is already in the TODO list.
User avatar
Serkan
Developer
Developer
Posts: 216
Joined: Thu Jul 04, 2013 8:44 pm
Location: Windows.h
Contact:

Post by Serkan »

Louise wrote: Fri Jan 05, 2018 5:14 pm Hi dear serkan,
Another simple idea but useful, for you :
  • button in Sdstudio editor(RibbonBar) to change the case of selected text (lowercase / uppercase).
  • Paste as Comment (button in the editor ribbonbar). that's mean paste all the text in the clipboard as MultiLine comment format.
  • Find in files
  • GoTo Dialog.
  • Update AutoComplete list when we define new (variable ,table,function ,... ) or delete them.
  • button in Sdstudio editor(RibbonBar) to change the case of selected text (lowercase / uppercase).
Will be added.
  • Paste as Comment (button in the editor ribbonbar). that's mean paste all the text in the clipboard as MultiLine comment format.
Will be added.
  • Find in files
Not sure what did you mean , is that files in project folder ,find in other projects in projects folder
  • GoTo Dialog.
Will be added.
  • Update AutoComplete list when we define new (variable ,table,function ,... ) or delete them.
Qurrent autocomplete system will be changed (visually) and a modern looking version will be added
Currently we are using Scintilla's own autocomplete list and it is an isolated control ,it does not match with application theme
And can not be customized from outside , sure a content aware version will be added but currently it is limited with predefined functions and constants
User avatar
Louise
Registered User
Posts: 15
Joined: Thu Dec 14, 2017 4:53 pm
Location: SDS-LUA-PB

Post by Louise »

Serkan wrote: Sat Jan 06, 2018 6:55 pm
Louise wrote: Fri Jan 05, 2018 5:14 pm
  • Find in files
Not sure what did you mean , is that files in project folder ,find in other projects in projects folder
I mean this, we have a lot of text files (.lua) format in the project and we want to use them with require. Now in these files we want to search the function name.by Find in files, the list of results is displayed and by clicking on each one, it appears in the new tab Named that file.

Of course this is my personal opinion and maybe others do not need it.
User avatar
Louise
Registered User
Posts: 15
Joined: Thu Dec 14, 2017 4:53 pm
Location: SDS-LUA-PB

Post by Louise »

Hi dear serkan,
As another idea, Simultaneous editing Ability is fantastic. This feature is shown in the video below.

https://upload.wikimedia.org/wikipedia/commons/8/87/Simultaneous_Editing_Demo_Using_Sublime_Text.webm
User avatar
abood1987
Registered User
Posts: 69
Joined: Sat Jun 15, 2013 3:03 pm
Location: Egypt مصر أم الدنيا
Contact:

Post by abood1987 »

Louise wrote: Thu Jan 11, 2018 4:41 pm Hi dear serkan,
As another idea, Simultaneous editing Ability is fantastic. This feature is shown in the video below.

https://upload.wikimedia.org/wikipedia/commons/8/87/Simultaneous_Editing_Demo_Using_Sublime_Text.webm

+1

With you in this SuggestionImage
User avatar
Serkan
Developer
Developer
Posts: 216
Joined: Thu Jul 04, 2013 8:44 pm
Location: Windows.h
Contact:

Post by Serkan »

Louise wrote: Sat Jan 06, 2018 7:39 pm

I mean this, we have a lot of text files (.lua) format in the project and we want to use them with require. Now in these files we want to search the function name.by Find in files, the list of results is displayed and by clicking on each one, it appears in the new tab Named that file.

Of course this is my personal opinion and maybe others do not need it.
SDStudio stores scripts in project file
loading external scripts is possible ,but script file must be utf-8 encoded therefore require function might fail, it is better to use embedded scripts
Post Reply