coc-defold-ide

0.0.3 • Public • Published

Defold IDE

This extension is a work in progress. It may be useful to you as it is, but it's far from a stable state and things might change.

Up-to-date autocomplete, API docs, snippets and more for the Defold game engine.

Features

Autocomplete and documentation

TODO. Not implemented yet, but planned.

Snippets

TODO. Not implemented yet, but planned.

Refactor hashes as constants

Replaces strings and literal hashes with local variables declared at the top of the file. With the following keymaps, select or place your cursor on a hash string, then press <leader>h:

nnoremap <leader>h :CocCommand defold-ide.refactorHash<CR>
vnoremap <leader>h :CocCommand defold-ide.refactorHashVisual<CR>

refactor hashes

If your project doesn't use this style of hash constants, you can customise prefix, capitalisation and even make Defold IDE create hash constants in a separate module instead of using local variables.

Don't forget that you can also configure CoC settings per-workspace. Different projects can configure this extension differently.

Readme

Keywords

none

Package Sidebar

Install

npm i coc-defold-ide

Weekly Downloads

1

Version

0.0.3

License

MIT

Unpacked Size

204 kB

Total Files

8

Last publish

Collaborators

  • da_petcu21