qooxdoo v6 Snippets
This extension for Visual Studio Code adds snippets for qooxdoo framework.
![create qooxdoo class](https://github.com/goldim/vscode-qx6-snippets/raw/HEAD/images/usage-example.gif)
Usage
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.
Snippets
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 |
Installation
- Install Visual Studio Code 0.10.1 or higher
- Launch VS Code
- From the command palette
Ctrl +Shift +P (Windows, Linux) or Cmd +Shift +P (OSX)
- Type
ext install or just simply select Install Extension
- Choose the extension - Cpp Snippets
- Relaunch VS Code
Suggestions for improvement are welcome.
| |