Every txt files will be a snippet.
You will see nothing in the ide.
Start writing Code and you should see all your snippets name in the Intellisense.
Select the one you need and Tab to insert it into your code window.
Every txt files will be a snippet.
You will see nothing in the ide.
Start writing Code and you should see all your snippets name in the Intellisense.
Select the one you need and Tab to insert it into your code window.
Hi Sagenut
i have succes only if i save mysnippets in C:\Program Files\Anywhere Software\B4A\Libraries\snippets folder
or
i have succes only if i save mysnippets in C:\B4X_Additional_Library\MySnippets_lib.b4xlib file
B4J v10.00 includes support for "code snippets". This feature will be added to the other tools in the next updates. A code snippet is a piece of code that can be added to your code in very few clicks. The snippet can include any number of variables or placeholders that will be highlighted and...
Did you setup the structure of additional libraries as suggested HERE ?
An AdditionalLibraries folder containing one folder for each platform and one folder B4X for b4xlib libraries.
Create the Snippets folder in this B4X folder.
To refresh the libraries: Right click in the Libraries Tab and you get a menu.:
To show the snippets: Write 'co' at the beginning of a line and the snippets will be shown, explained HERE.