From b4312a23d375df54571c2e530cf47cd651230d68 Mon Sep 17 00:00:00 2001 From: SunderB <20426079+SunderB@users.noreply.github.com> Date: Sun, 24 May 2020 18:20:42 +0100 Subject: [PATCH] Update README.md and autocomplete API version --- README.md | 1 + lib/autocomplete.js | 1 + package.json | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) 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" } } },