Kyle Barron

Results 1611 comments of Kyle Barron

With the syntax highlighting yes. But not the fold end marker to my knowledge. I haven't tried but I'd be surprised.

What's a simple regex to try? ``` }(?!\s*\n\s*else) ```

It actually works when not using brackets: ![image](https://user-images.githubusercontent.com/15164633/45243113-9ea6da00-b2c0-11e8-89f9-39d0c16fc4df.png) I suppose the main reason is that when there are brackets I run the code with `include`

So `include` must break Stata's record of `if/else` somehow

The only case in which it _doesn't_ work is when `if` uses brackets. Why did we end up using include anyways? ![peek 2018-09-07 17-10](https://user-images.githubusercontent.com/15164633/45243217-f2b1be80-b2c0-11e8-9b18-a4b117f0ae93.gif)

Oh right we use `include` so that commands will stop running after one creates an error. Which is good...

You might want to try a different graph output format, see https://github.com/kylebarron/stata_kernel/issues/335#issuecomment-602104884

I think this is an issue with Stata that I can't solve

Hmm, I definitely had issues with that in the early days of developing the package, but I thought the issues were fixed. Which OS? And can you try to attach...

And what stata kernel version is installed? ``` pip show stata_kernel ```