This is a project that I have started with the aim of adding features to the Google Apps Script development environment (IDE). In its first version it is created as an extension for Google Chrome and the code is shared in order to receive feedback from other developers and improve it constantly.
The current features of the extension are as follows:
# | Feature | Description |
---|---|---|
1 | Themes | List of approximately 63 themes to apply to the Google App Scripts Editor |
2 | Icons | Add custom icons to more easily identify what type of file it is. |
3 | Checking errors | Using the JHINT library the functionality to validate the syntax of Javascript and Google Apps Script code is added. Initially we wanted to place the error or warning information on the same line, but the editor already has the functionality to add a breakpoint for debugging the code. |
4 | Hide and show blocks | For those of us who like to hide blocks of code in order to navigate more easily within a large file, we have added the possibility to show and hide blocks of code by using the key combination: Alt + Q. |
5 | Javascript autocompletion | Finally we add the functionality of Javascript code autocompletion, this functionality is available only in files with extension .html. In future versions it will allow autocomplete javascript code including methods and Jquery. NOTE: to display hints just press the following key combination Ctrl + Space |
From the Google Chrome browser, go to the Chrome Web Store and install the extension.
- The themes added to the editor were slightly modified and taken from the CodeMirror page, where I thank the creators.
- The functionality for auto-completion of Javascript code is based on the plugin found in CodeMirror/2/autocomplete.
Original credits to the main author https://github.com/rubendariosanchez
**The code is free and can be used in new initiatives or in support of this project.