Page 2 of 3

Re: CodeEditor Suggestions

Posted: Tue Dec 19, 2017 3:43 pm
by Louise
Oh yes, that's great. Thank you

Re: CodeEditor Suggestions

Posted: Tue Dec 19, 2017 5:35 pm
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

Re: CodeEditor Suggestions

Posted: Fri Jan 05, 2018 5:14 pm
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.

Re: CodeEditor Suggestions

Posted: Fri Jan 05, 2018 9:55 pm
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

Re: CodeEditor Suggestions

Posted: Sat Jan 06, 2018 6:46 pm
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.

Re: CodeEditor Suggestions

Posted: Sat Jan 06, 2018 6:55 pm
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

Re: CodeEditor Suggestions

Posted: Sat Jan 06, 2018 7:39 pm
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.

Re: CodeEditor Suggestions

Posted: Thu Jan 11, 2018 4:41 pm
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

Re: CodeEditor Suggestions

Posted: Thu Jan 11, 2018 5:41 pm
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

Re: CodeEditor Suggestions

Posted: Fri Jan 12, 2018 5:17 pm
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