16
IDE/Syntax / Template / Snippet Tool in IDE
« on: 2010-Apr-21 »
Hi Gernot,
This is not a crucial request, but could be very handy.
As I have said in introductions, I am from the PureBasic community, and this request comes directly from a feature I like very much in the PureBasic IDE.
It is an additional tab on the right side window of the IDE, to add along with "Jumps", "Files", "Web", and "Debug".
The new tab would be "Templates" as it is called in PureBasic, although "Snippets could also be appropriate, and unique to GLBasic.
This tab in purebasic displays a workspace with a treeview.
The treeview is built by the user to add folders and organize code snippets which are commonly used by the user, which can be easily and directly added to any code being worked on in the ide.
In PureBasic, this is done simply by double clicking the entry in the treeview, the snippet is placed where the cursor is currently sitting in the project code.
I have attached a screenshot which will hopefully explain better than I can with words.
It shows the treeview I describe on the sidebar, the edit dialog for the code snippet / template, as well as the same code inserted in my main edit window in the ide.
This system is very nice for storing functions / procedures which are used frequently.
Please let me know if this interests you enough to consider, and if so, I will try to give you more detail on how it works.
regards,
Dave
[attachment deleted by admin]
This is not a crucial request, but could be very handy.
As I have said in introductions, I am from the PureBasic community, and this request comes directly from a feature I like very much in the PureBasic IDE.
It is an additional tab on the right side window of the IDE, to add along with "Jumps", "Files", "Web", and "Debug".
The new tab would be "Templates" as it is called in PureBasic, although "Snippets could also be appropriate, and unique to GLBasic.
This tab in purebasic displays a workspace with a treeview.
The treeview is built by the user to add folders and organize code snippets which are commonly used by the user, which can be easily and directly added to any code being worked on in the ide.
In PureBasic, this is done simply by double clicking the entry in the treeview, the snippet is placed where the cursor is currently sitting in the project code.
I have attached a screenshot which will hopefully explain better than I can with words.
It shows the treeview I describe on the sidebar, the edit dialog for the code snippet / template, as well as the same code inserted in my main edit window in the ide.
This system is very nice for storing functions / procedures which are used frequently.
Please let me know if this interests you enough to consider, and if so, I will try to give you more detail on how it works.
regards,
Dave
[attachment deleted by admin]