Kyle Barron

Results 1612 comments of Kyle Barron

Mention using console with regular Stata file in jupyter lab

If you clear all global macros, ~~graphs won't work~~ it takes an extra command for the global to re-instantiate

This is helpful for the console, but the behavior is still suboptimal in Hydrogen, since it doesn't use `is_complete` messages at all.. ![peek 2018-09-07 15-27](https://user-images.githubusercontent.com/15164633/45239253-9d6eb080-b2b2-11e8-845e-a84e546442e4.gif)

The only way to get around this in hydrogen right now is to manually select the if/else block. For now I should at least put this in the limitations page...

It doesn't. Since Hydrogen is 100% language-agnostic, it uses only general syntax elements like indentation and the `foldEndMarker` designated by the language's syntax highlighting package. Recently a separate [python-specific add-on...

I am. And I [edited it recently](https://github.com/kylebarron/language-stata/commit/9a41b92e45a87d2843030488e08c5663d4313a03) to include the ending `}` in Hydrogen. But it's just a plain regex setting (that a core Atom package then implements) and Atom...

In Javascript, you could put `}(?!\s* else)` as the regex and plausibly get the whole if/else clause. But not sure how to do it when they're always on separate lines.

> Atom can't do regexes across lines anyways At least not for syntax highlighting. I doubt it allows it here, though I could try it out.

> Wait, this is odd. Python has multi-line strings. Doesn't it highlight them? Yes, but the token that it looks for in the regular expression never spans a newline. I.e....