Open lra opened 3 years ago
There are no recent updates to this package as seen in the version history: https://github.com/cmur2/language-terraform/releases
Which version of Atom and of the language-terraform
package are you using? Maybe we can narrow down what changed :)
Yes, that's why I'm asking for help, I don't know what happened =(
$ atom --version
Atom : 1.56.0
Electron: 9.4.4
Chrome : 83.0.4103.122
Node : 12.14.1
On macOS 11.2.3
I can replicate this - I'm using the same versions of all components, and I seem to have lost some of the secondary syntax highlighting for Terraform:
Thanks for both of your input! I will have a look at the problem, whether I can reproduce it and what might be causing it.
My first goto was https://atom.io/releases to check whether it mentions anything noteworthy regarding syntax highlighting changes... nothing obvious to me.
I can reproduce the issue locally when updating my Atom from version 1.53.0 to 1.56.0:
Hmmm...
Edit: actually, in Atom version 1.55.0 the highlighting also still works.
@lra @craigwatson I'm happy to report that the syntax highlighting works again with no changes on current https://atom.io/nightly (1.58.0-nightly) - the comment https://github.com/atom/atom/issues/22168#issuecomment-817189907 made me try this. Would be great if you can confirm this in case you feel adventurous enough to try the nightly.
So for now I'd recommend downgrading to the last known good Atom version 1.55.0 if you consider the weird highlighting of language-terraform important enough + that's possible for you 🙂
Not for me with nightly =( Am I missing something I should do?
Also sadly not fixed for me with the latest nightly build:
Confirmed that rolling back to 1.55.0 fixes the problem though:
Given that there is still activity and new reports coming in at https://github.com/atom/atom/issues/22168 I'd not spent further time troubleshooting for now since I realize that the Atom nightly build is a moving target -- it might behave differently every day depending on what upstream does.
Recommendation for now would be going back to 1.55.0 and wait what a release of 1.57.0 and/or 1.58.0 brings.
Release link: https://github.com/atom/atom/releases/tag/v1.55.0
FTR, 1.57.0 just got released and the problem is still happening.
FTR, 1.57.0 just got released and the problem is still happening.
@lra looks like the problems still persist with Atom 1.57.0 also for other people, such as https://github.com/atom/atom/issues/22168#issuecomment-841309800
I'm still leaning towards waiting how https://github.com/atom/atom/issues/22168 develops (whether it's a theme issue or a language syntax issue) as it's not clear to me how to proceed. During that time downgrading to Atom 1.55.x is what I'd recommend :/
I use a theme that's supposed to highlight strings (in green): https://github.com/atom/atom/tree/master/packages/one-dark-syntax
Up to today, it was highlighting strings in terraform too. But not sure what changed today, strings in terraform are not highlighted anymore:
Any idea how to highlight strings back?
Other languages are fine, e.g. python:
It seems specific to this package, and recent.