# VS code not parsing unitful string macro for style

**URL:** https://discourse.julialang.org/t/vs-code-not-parsing-unitful-string-macro-for-style/24460
**Category:** VS Code
**Created:** [May 22, 2019, 6:06am UTC](https://discourse.julialang.org/t/vs-code-not-parsing-unitful-string-macro-for-style/24460 "2019-05-22T06:06:26Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![longemen3000](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/longemen3000/32/7298_2.png) [@longemen3000](https://discourse.julialang.org/u/longemen3000)
#### Post date: [May 22, 2019, 6:06am UTC](https://discourse.julialang.org/t/vs-code-not-parsing-unitful-string-macro-for-style/24460/1 "2019-05-22T06:06:26Z")

</div>

i have this syntax highlighting problem when using the uniful syntax, on julia 1.1.1  
 ![image](https://global.discourse-cdn.com/julialang/original/3X/e/3/e31256188087e4282714f967b72a886ef55d2dce.png)

the problem is in juno too:  
 ![image](https://global.discourse-cdn.com/julialang/original/3X/c/2/c21b4d8e8bed784e8da5ee981e284ed77131a28d.png)

any idea?

---

<div class="post-metadata">

### Author: ![c42f](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/c42f/32/52842_2.png) [@c42f](https://discourse.julialang.org/u/c42f)
#### Post date: [May 22, 2019, 6:23am UTC](https://discourse.julialang.org/t/vs-code-not-parsing-unitful-string-macro-for-style/24460/2 "2019-05-22T06:23:04Z")

</div>

Perhaps a bug in the grammer for the shared syntax highlighting code at [GitHub - JuliaEditorSupport/atom-language-julia: A Julia language support package for the Atom editor](https://github.com/JuliaEditorSupport/atom-language-julia) ?

---

<div class="post-metadata">

### Author: ![longemen3000](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/longemen3000/32/7298_2.png) [@longemen3000](https://discourse.julialang.org/u/longemen3000)
#### Post date: [May 22, 2019, 6:27am UTC](https://discourse.julialang.org/t/vs-code-not-parsing-unitful-string-macro-for-style/24460/3 "2019-05-22T06:27:02Z")

</div>

as the problem es present in both atom and vscode, maybe this is a problem in LanguageServer.jl, leave a issue in github, i guess?

---

<div class="post-metadata">

### Author: ![c42f](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/c42f/32/52842_2.png) [@c42f](https://discourse.julialang.org/u/c42f)
#### Post date: [May 22, 2019, 6:28am UTC](https://discourse.julialang.org/t/vs-code-not-parsing-unitful-string-macro-for-style/24460/4 "2019-05-22T06:28:28Z")

</div>

Yes, but as far as I can tell, the link above to atom-language-julia is where the associated syntax highlighting definition lives (in [https://github.com/JuliaEditorSupport/atom-language-julia/blob/master/grammars/julia.cson](https://github.com/JuliaEditorSupport/atom-language-julia/blob/master/grammars/julia.cson))

---

<div class="post-metadata">

### Author: ![longemen3000](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/longemen3000/32/7298_2.png) [@longemen3000](https://discourse.julialang.org/u/longemen3000)
#### Post date: [May 22, 2019, 6:33am UTC](https://discourse.julialang.org/t/vs-code-not-parsing-unitful-string-macro-for-style/24460/5 "2019-05-22T06:33:40Z")

</div>

there is a related issue:  
[https://github.com/JuliaEditorSupport/atom-language-julia/issues/175](https://github.com/JuliaEditorSupport/atom-language-julia/issues/175)  
the weird problem is that the syntax highlighting was functioning in julia 1.1, but broke on 1.1.1. Is not a critical problem anyway, but it is a problem nonetheless

---

<div class="post-metadata">

### Author: ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)
#### Post date: [May 22, 2019, 9:21am UTC](https://discourse.julialang.org/t/vs-code-not-parsing-unitful-string-macro-for-style/24460/6 "2019-05-22T09:21:10Z")

</div>

Will be fixed with  
[https://github.com/JuliaEditorSupport/atom-language-julia/pull/187](https://github.com/JuliaEditorSupport/atom-language-julia/pull/187)
