**New extensions:** - *.vue - this actually like regular HTML file: https://vuejs.org/guide/scaling-up/sfc.html - *.cjs - used for JS in the commonjs module format - *.mjs - used for JS in the ESM module format - *.tmpl - commonly used as HTML templates, like an *.tpl
**New JS keywords:** - `from` - `as`
Example: ```js import { A as B } from 'moduleName'; ``` You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3440
-- Commit Summary --
* update JS keywords and extensions
-- File Changes --
M data/filedefs/filetypes.javascript (2) M data/filetype_extensions.conf (4)
-- Patch Links --
https://github.com/geany/geany/pull/3440.patch https://github.com/geany/geany/pull/3440.diff
@Azq2 Thanks for the patience ;-).
The vue extension would help in cases like this one https://github.com/geany/geany/issues/1346
Would you resolve the merge conflict and rebase it on top of master? I think it could be merged afterwards.
@techee pushed 1 commit.
95621d69f38cb15ea97e7059aff5f4349f238739 Merge branch 'master' into js
Merged #3440 into master.
github-comments@lists.geany.org