You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+64-15
Original file line number
Diff line number
Diff line change
@@ -29,9 +29,12 @@ when coding python 3 by voice. It ships with an integrated [Caster](https://git
29
29
30
30
In case you have never heard about voice programming before, you should definitely check out [Caster](https://caster.readthedocs.io/en/latest/), [dragonfly](https://dragonfly2.readthedocs.io/en/latest/introduction.html) and [Talon](https://talonvoice.com/).
31
31
32
+
CRITICAL UPDATE: My sincerest apologies but up to release 0.1.1 a subtle yet critical installation step was not documented, which may have prevented you from using the plug-in altogether! You can find more information [here](https://github.com/mpourmpoulis/PythonVoiceCodingPlugin/issues/15) but release 0.1.2 should make that installation step redundant for most users, so simply upgrading and [replacing the grammar files](https://github.com/mpourmpoulis/PythonVoiceCodingPlugin/issues/14) should be enough without any further action on your part! Many thanks to LexiconCode for pointing this out!
33
+
32
34

33
35
34
36
37
+
35
38
## Contents
36
39
37
40
<!-- MarkdownTOC autolink="true" -->
@@ -41,9 +44,12 @@ In case you have never heard about voice programming before, you should definite
41
44
-[Release and Version](#release-and-version)
42
45
-[Limitations](#limitations)
43
46
-[Installation](#installation)
44
-
-[Package Control](#package-control)
45
-
-[note for those who installed between 0.0.4 and 0.0.5](#note-for-those-who-installed-between-004-and-005)
46
-
-[Git Install](#git-install)
47
+
-[Install the main plugin](#install-the-main-plugin)
48
+
-[Package Control](#package-control)
49
+
-[Note for those who installed between 0.0.4 and 0.0.5](#note-for-those-who-installed-between-004-and-005)
50
+
-[Git Install](#git-install)
51
+
-[Install Grammar](#install-grammar)
52
+
-[Subl Path](#subl-path)
47
53
-[Support for voice coding framework](#support-for-voice-coding-framework)
48
54
-[License](#license)
49
55
-[Dependencies](#dependencies)
@@ -118,7 +124,7 @@ Needless to say, while coding PythonVoiceCodingPlugin , PythonVoiceCodingPlugin
118
124
119
125
The code is available on [github](https://github.com/mpourmpoulis/PythonVoiceCodingPlugin)
120
126
121
-
The latest release is 0.1.0!
127
+
The latest release is 0.1.2!
122
128
123
129
124
130
## Limitations
@@ -134,17 +140,25 @@ There are of course certain limitations which I would like to make clear from th
134
140
135
141
## Installation
136
142
137
-
In order to install, you must install both the plugging as well as the corresponding [grammar](bundles/README.md).
143
+
As this is a two-part system, in order to install, you must
144
+
145
+
- install the main plugin
146
+
147
+
- install the corresponding [grammar](bundles/README.md) for the version of caster you are using
148
+
149
+
- put the `subl` executable which enables the communication of those two into the Windows path(from 0.1.2 and above optionally)
150
+
138
151
152
+
### Install the main plugin
139
153
140
-
There are currently two installation methods for performing the first task
154
+
There are currently two installation (Package Control and git) methods for performing the first task,I highly recommend using Package Control.
141
155
142
156
143
-
### Package Control
157
+
####Package Control
144
158
145
-
Release 0.0.5 fixed the errors that prevented 0.0.4 from installing directly from package control. You can now install the package simply by
159
+
- Firstly make sure you have Package Control installed. If not, please follow the instructions [here](https://packagecontrol.io/installation)
146
160
147
-
- open Command Palette
161
+
- open Command Palette(Control+Shift+P)
148
162
149
163
- execute
150
164
@@ -160,7 +174,7 @@ PythonVoiceCodingPlugin
160
174
161
175
162
176
163
-
####note for those who installed between 0.0.4 and 0.0.5
177
+
##### Note for those who installed between 0.0.4 and 0.0.5
164
178
165
179
previously the installation of plug-in included running
which enabled you to install directly from a master branch rather than my releases and you should be seing a fake version like v2020.01.05.( and so on ) instead of v0.0.4.
179
193
180
194
This was only temporary solution and I recommend that you ran
195
+
181
196
```
182
197
Package Control:Remove Repository
183
198
```
@@ -194,9 +209,9 @@ For any further installation questions, feel free to ask [here](https://github.c
194
209
195
210
196
211
197
-
### Git Install
212
+
####Git Install
198
213
199
-
Currently you can download the plugin directly from github and place it in sublime package folder
214
+
Alternatively you can download the plugin directly from github and place it in sublime package folder
200
215
201
216
for windows users this should be:
202
217
@@ -209,16 +224,50 @@ and on Ubuntu it is :
209
224
~/.config/sublime-text-3/Packages/
210
225
```
211
226
212
-
Currently the Master Branch and the releases 0.0.5 ships with its dependencies so the next step is not really necessary.
227
+
Currently the Master Branch ships with its dependencies so you're good to go!
228
+
229
+
Just in case something is wrong and you want to manually install dependencies,using your installation of python (this worked for me with 3.7.4 and 3.5.2) run from inside the plug-in folder (PythonVoiceCodingPlugin):
213
230
214
-
To install dependencies,using your installation of python (this worked for me with 3.7.4 and 3.5.2) run from inside the plug-in folder (PythonVoiceCodingPlugin):
Furthermore, in order to use the plug-in, you must also install the grammar! You can find additional information [here](bundles/Caster/README.md) if you intend to use this on Linux via [Aenea](bundles/Aenea/README.md) you will need a few extra steps but in a nutshell:
239
+
240
+
- Make sure you have [Caster](https://caster.readthedocs.io/en/latest/) installed
241
+
242
+
- Copy the grammar files to the appropriate user directory,depending on the version of caster these should be either `C:\Users\%USERNAME%\AppData\Local\caster\rules` or `C:\Users\%USERNAME%\.caster\rules
243
+
`
244
+
245
+
- Reboot/launch Caster and if you are using 1.0 and above do not forget to enable the rule by saying `enable python voice coding plugin`
246
+
247
+
in order to make this process easier, under `Preferences > Package Settings > PythonVoiceCodingPlugin
248
+
` you will find utilities
249
+
250
+
- To retrieve those grammar files and then manually copy paste them
251
+
252
+

253
+
254
+
- or to automatically install them to the appropriate directory if you are using Caster 1.x.x
255
+
256
+

257
+
258
+
### Subl Path
259
+
260
+
The communication between the main plugin and the grammar happens via the sublime command line interface through the `subl` executable. Up to and including version 0.1.1, it was expected that this executable is in your Windows path but as pointed out by LexiconCode the corresponding documentation was missing! these was a big blunder on my part and may have prevented you from using the project altogether!
261
+
262
+
now you can find more information about how you can add this executable to the Windows path [here](https://stackoverflow.com/questions/9440639/sublime-text-from-command-line), but in order to work around this issue without adding an additional installation step for you, release 0.1.2 implements the following scheme:
263
+
264
+
* If `subl` is already in the path, it will use normally
265
+
266
+
* Otherwise, it will try to fall back to `C:\Program Files\Sublime Text 3\subl` which is where it should be if you have installed sublime in the classical way! In such a case, no extra steps are needed on your part!
220
267
268
+
if sublime is installed in another directory, you must unfortunately add it to the path yourself!
221
269
270
+
Please note that this does not affect Linux!
222
271
223
272
224
273
## Support for voice coding framework
@@ -338,7 +387,7 @@ also some of the other tools I found useful developing this project
338
387
339
388
Last but not least many things to
340
389
341
-
* LexiconCode, for porting the grammar from 0.5 to 0.6 and 1.0 versions of Caster
390
+
* LexiconCode, for porting the grammar from 0.5 to 0.6 and 1.0 versions of Caster and pointing out the missing documentation for putting the `subl` utility in the path.
342
391
343
392
* FichteFoll, for pointing out various errors during package review
My sincerest apologies but up to release 0.1.1 a subtle yet critical installation step was not documented, which may have prevented you from using the plug-in altogether!
6
+
7
+
You can find more information at https://github.com/mpourmpoulis/PythonVoiceCodingPlugin/issues/15 but release 0.1.2 should make that installation step redundant for most users, so SIMPLY UPGRADING and replacing the grammar files should be enough without any further action on your part!
8
+
9
+
In order to rapidly upgrade your grammars, if you are using Caster 1.x.x under
0 commit comments