Editor Tutorials

Overview

Opening Projects

  • A project is simply a folder with a main.lua or GliderProperties.proj file in it.
  • Simply drag and drop the project folder into the editor area.
  • Alternatively you can open a file via file -> open project.

Code Completion

  • You can invoke code completion by pressing ctrl-space in the editor.
  • Glider will look into all your project files, even library files to find the most helpful suggestions for you.
  • The class aware autocompletion feature will keep track of type information so you dont have to.

Completion Shortcuts

  • You can enter abbreviations instead of full variable names and Glider will complete it for you.
  • Abbreviations can be partial prefixes, camel case letters, or a combination of both.
  • Glider will leverage the class aware autocompletion system to expand out variables for you.

Code Navigation

  • Simply ctrl-click on a symbol to see where it is declared. Ctrl-click on a function to see where it is defined.
  • You can also hover the caret over a symbol to see where it is used in the current file.
  • Right click on a symbol and click "Find usages" to see where it is used in the entire project.

Semantic Highlighter

  • Globals are in green, unused variables are underlined in grey.
  • You can easily catch accidental globals and unnecessary variables.
  • Even unused globals are properly detected.

Fullscreen Mode

  • You can double click on the editor tab to maximize it.
  • You can also go to view -> fullscreen to maximize the entire window.
  • Alternatively you can undock an editor
  • Quickly jump to key symbols in the current document by just double clicking on them in the navigator.
  • Single click on any project file to see a quick view of its contents in the navigator.
  • You can quickly spot stray globals in the globals node.