- Fix comments in
args
#107
- Fix for loop comments #106
- Fix mata comments. #102
- Change language name of Stata Dyndoc Markdown and Stata Dyndoc LaTeX so that they'll work out of the box with Hydrogen.
- Add enhanced autocomplete with help menus for functions.
- Color names after
args
as locals. Fixes #96 - Switch to
//
as default comment character with note in README of how to change the comment character - Color nested functions correctly. Fixes #97
- More info in README about running code in Stata
- Fix
foldEndPattern
in the settings to work better with Hydrogen - Fix
merge
to not discolor everything after it when typing. Fixes #45 - Update snippets. Change
forv
toforvalues
;fore
toforeach
. Change tabs to spaces. - Fix global macro errors within strings; See #91.
- Attempt to color literal backticks better within strings.
- Fix
<</dd_do>>
not ending Stata block in dyndoc
- Bug fix for using parentheses inside a local macro. See #90
- Bugfixes for defining globals with extended functions
- Bugfixes for
syntax
command
- Update for Unicode identifiers. You should be able to use unicode anywhere it's legal now and have it be correctly colored. #84
- Fix bug with multiple expressions in parentheses. #46
- Fix comments inside locals, and fix comments inside globals used with
${...}
. #90 - Color macros better in list extended function. #75
- Allow macros within subscripts. #74 and #57
- Make comment highlighting stubbornly accurate. See this Statalist post for more information about how Stata highlights in practice, and go here for an example.
- Add note to README that language-latex and language-markdown must be installed for dynamic documents syntax highlighting to work
- Update to highlight dynamic documents in Markdown and LaTeX
- Add more snippets (i.e.
if
,else
,program
) - Add highlighting for Python-like docstrings in block comments
- Don't alert for error around braces (
{}
) inside function calls
- Add support for factor variables. Fixes #70
- Fix coloring for macro functions that take multiple new macros as arguments, i.e.
tempvar
,tempfile
, andtempname
. Fixes #71 - Add regex functions to autocomplete. Fixes #69
- Alert when variable labels are >80 characters. Fixes #72
- Fix syntax command. Fixes #61
- Add some user-written commands. Fixes #64
- allow there to be no spaces before = in gen command. Fixes #59.
- No changes
- allow /* to start a comment block anywhere, not just after whitespace. Fixes #55
- Fix
gen
command - Fix global macro coloring when using
\
as a path delimiter in strings. (i.e."$datadir\file.dta"
). Fixes #52. - Allow for markdown code block in strings to not apply "macro" tags in specific situations. Allows e.g.
di "```stata"
as long as there's no'
character in the text. Fixes #53.
- Fix bugs created in 1.2.1
- Namely, fix the list of macro reserved names
- Fix bugs created in 1.2.1
- Fix macro extended function bugs
- Add macro checking to
foreach
andsyntax
- Restore name checking to
gen
- Fix bug for brackets before comma in the
syntax
command - Add
\
as an operator for use with matrices - Allow functions to be embedded within subscripts
- Color SQL queries used in the
odbc
command. (Thelanguage-sql
base package must be active.) - Regex bug fixes and enhancements:
- Color parentheses forming capture groups
- In regular
regexm()
, color as illegal any group starting with*
,?
, or+
. - Color lookaheads and lookbehinds in
ustrregexm()
- Fix highlighting of enclosed functions in
regexm()
andustrregexm()
- Standardize highlighting for
regress
and other "model commands". (Had been colored as functions, should be colored as commands.)
- Color
==
as illegal inreplace var == 0
- Fix
log
coloring so thatfilename.log
isn't colored - Bugfixes with
drop
andkeep
commands - Allow embedded macros in extended macro functions
- Miscellaneous bugs fixed by adding
\\b
so that something likeif_yes
doesn't colorif
- Fixed bug where, e.g. only
label vari
was colored oflabel variable ...
. There were many instances of code that could have been affected that were fixed.
- Improved
syntax
command to correctly color across multiple lines. Solves #19 - Colors extended macro functions inside local macros as well as during macro instantiation.
- Allow macros in
forvalues
loop statement, likeforval i = `start_num' / `end_num' {
- Allow for local and global macros within regular expression match strings
- Color
_all
as a constant - Include Mata functions from old atom-language-stata package
drop
andkeep
alert you if you typedrop varlist if
ordrop varlist in
. (It's only legal to useif
orin
without a varlist).
- Fix highlighting for global macro with braces inside loop
- Now the
}
line can only be colored as error if there's text on that line and if there's at least one space before the}
. - Remove some deprecated functions
- Turn off docblockr tag if appears immediately after word character
- Show error for
gen var == 5
- Fix comment bug created in 1.0.2.
- Disallow star-comments inside block-comments
- Fix bug to allow nested comment blocks
- Fix docblockr tag coloring
- Fix
*regexr*()
functions to color regex before typing the second comma
- Unicode regex support. This includes support for the entire (or at least most) of the ICU regex engine.
- Colors invalid escapes as illegal in the standard regex parser, like \w or \s.
- color regex functions within other functions
- Don't color as illegal the {} within the
spacebef
andspaceaft
functions in the outreg package.
- Autocomplete support in general for all words
gen
andegen
now color a new tempvar as a macro. I.e.:tempvar new_variable gen `new_variable' = ...
- Now colors
@ERROR
and@error
in comments as illegal/invalid - Started CHANGELOG! Hopefully will go back and fill out previous revisions' edits.
- Regex highlighting error that colored capturing groups wrong