Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zachary E. Goldstein
uSmallTalk
Commits
ef337bc9
Commit
ef337bc9
authored
Dec 01, 2020
by
Zachary Goldstein
Browse files
documentation updates
parent
848758ad
Changes
2
Hide whitespace changes
Inline
Side-by-side
how_to_install.txt
View file @
ef337bc9
...
...
@@ -29,8 +29,9 @@ Procedure:
install the uSmallTalk package. Since this package is not officially
supported, you'll have to install it manually.
Move the uSmallTalk package directory inside Sublime's "Packages" folder.
The location of this folder varies based on your operating system:
Move the 'uSmallTalk' package directory inside Sublime's "Packages"
folder. The location of this folder varies based on your
operating system:
(a) Windows: $APPDATA/Sublime Text 3/Packages
(b) OSX: ~/Library/Application\ Support/Sublime\ Text\ 3/Packages
...
...
uSmallTalk/usmalltalk.sublime-syntax
View file @
ef337bc9
...
...
@@ -57,9 +57,29 @@ contexts:
-
include
:
brackets
-
include
:
keyword
-
include
:
literal
# - include: operator
keyword
:
# - match: \b{{register}}\b
# scope: register
# - match: '{{label}}(?=:)'
# scope: label
# - match: '\.{{directive}}\b'
# scope: directive
# - match : '(?s)\b(class)\s+({{name}})(\b)?'
# captures :
# 1 : keyword.class
# 2 : entity.name.class
-
match
:
'
\b(self|super)\b'
scope
:
variable.language
...
...
@@ -88,6 +108,8 @@ contexts:
-
match
:
'
(?={{bracket}})'
pop
:
true
-
match
:
'
\b{{method_definition}}\s+'
scope
:
keyword.method
push
:
...
...
@@ -98,6 +120,8 @@ contexts:
-
match
:
({{unit_test}})
scope
:
unit-test
-
match
:
\b{{reserved}}\b
scope
:
keyword
...
...
@@ -115,6 +139,14 @@ contexts:
scope
:
punctuation.definition.string.begin
push
:
quoted_literal
# string-literals begin and end with quotes, and use backslashes as an escape character.
# - match: '"'
# scope: punctuation.definition.string.begin
# push: inside_string
quoted_literal
:
-
meta_include_prototype
:
false
-
meta_scope
:
string.quoted.single
...
...
@@ -134,10 +166,36 @@ contexts:
scope
:
punctuation.definition.array.end
pop
:
true
# inside_string:
# - meta_include_prototype: false
# - meta_scope: string.quoted.double
# - match: '\.'
# scope: constant.character.escape
# - match: '"'
# scope: punctuation.definition.string.end
# pop: true
# operator:
# # assignment operator
# - match: \:\=
# scope: operator.assignment
# - match: '{{relop}}'
# scope: operator.relational
# - match: '{{binop}}'
# scope: operator.binary
# - match: '{{unop}}'
# scope: operator.unary
comments
:
# Comments begin with a ';' and finish at the end of the line.
#- meta_include_prototype: false
-
match
:
'
;'
scope
:
punctuation.definition.comment
push
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment