This extension for Visual Studio Code adds snippets for qooxdoo framework.
Type a part of the keywords in snippet e.g., "construct" and press enter.
// Creates a constructor snippet
construct() {
this.base(arguments);
},
Alternatively, one can also just press Ctrl + Space (works on Windows, Linux, or Mac) to access the available snippets in the editor.
Snippet | Purpose |
---|---|
qx.Interface.define |
interface declaration |
qx.Class.define |
class declaration |
qx.Mixin.define |
mixin declaration |
extend |
extend word, default qx.core.Object |
implement |
implement interface |
include |
include mixin |
type |
class type: abstract , static , singleton |
construct |
class constructor |
destruct |
class destructor |
events |
event section |
- Install Visual Studio Code 0.10.1 or higher
- Launch VS Code
- From the command palette
Ctrl
+Shift
+P
(Windows, Linux) orCmd
+Shift
+P
(OSX) - Type
ext install
or just simply selectInstall Extension
- Choose the extension - Cpp Snippets
- Relaunch VS Code
Suggestions for improvement are welcome.