diff --git a/README.md b/README.md index 676cf17..0e4f0e6 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ The [tool-bar](https://atom.io/packages/tool-bar) package for Atom needs to be i * Added integration with the [tool-bar](https://atom.io/packages/tool-bar) package to add buttons which run some commands to a toolbar. * Changed some of the default key bindings to be more similar to Sonic Pi's keyboard shortcuts, see below for the key bindings. * Added options to change the Sonic Pi server IP address and port, and the Sonic Pi GUI IP address and port. +* Updated autocompletions for synths, FX and samples (not nearly as integrated as the official Sonic Pi GUI though) I'm happy to contribute these changes to rkh/atom-sonic if wanted. :) diff --git a/lib/autocomplete.js b/lib/autocomplete.js index 91e9b46..fbc5511 100644 --- a/lib/autocomplete.js +++ b/lib/autocomplete.js @@ -39,6 +39,7 @@ module.exports = (provider = { excludeLowerPriority: false, completions: completions, + //[attribution]: https://github.com/atom/autocomplete-plus/wiki/Provider-API#generating-a-new-prefix getPrefix(editor, bufferPosition) { // Whatever your prefix regex might be var regex = /[\w0-9_:-]+$/; diff --git a/package.json b/package.json index 9b83ed8..07e14d9 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "providedServices": { "autocomplete.provider": { "versions": { - "2.0.0": "provide" + "4.0.0": "provide" } } },