deadfoxygrandpa / Elm.tmLanguage

Elm language syntax highlighting and tool integration for ST2/3
https://packagecontrol.io/packages/Elm%20Language%20Support
MIT License
122 stars 27 forks source link

Error Navigation not working on OSX #42

Closed ghost closed 9 years ago

ghost commented 9 years ago

The README describes a key-combo for error navigation, and assuming Super=Cmd on OSX, it did not work for me when compiler errors included filename + line number. I tried some other key combos after Cmd-F4 and Cmd-Sh-F4, without luck, then looked in Preferences / Package Settings / Elm Language Support to check key shortcut settings without luck. (Hopefully this is not some dumb operator error on my part.)

texastoland commented 9 years ago

Did you run the Build command? Were there any results in the Output Panel?

ghost commented 9 years ago

Yes. I run either Build (Cmd-B) or Run (Cmd-Sh-B), get a list of errors in the output panel, and then try to navigate to errors.

On Aug 27, 2015, at 6:13 PM, Texas Toland notifications@github.com wrote:

Did you run the Build command? Were there any results in the Output Panel?

— Reply to this email directly or view it on GitHub.

texastoland commented 9 years ago

Could you paste the errors into the issue to check the regex? The console output might help too (Super+`). Make sure to close and reopen Sublime first.

ghost commented 9 years ago

Here is one error output cut/paste from Sublime after a Cmd-B Build:

==== error in Cpu.elm:111:36: ====
Cannot find variable `disabled`
Maybe you want one of the following?
    Html.Attributes.disabled
----
[Finished in 0.2s with exit code 1]

I wonder if this is more a key binding problem I am having?

texastoland commented 9 years ago

Send me a calendar invite for a Hangout sometime. The error looks good. Any problems in the Console?

texastoland commented 9 years ago

Closing pending feedback.

ghost commented 8 years ago

Aargh. It was just a keybinding problem. I suddenly noticed extra screenshots appearing on my desktop today. Investigated, and my System Prefs / Keyboard Shortcuts was using F4 for screenshots. Got rid of it, and Sublime / Elm navigation is working. Yay!

Btw, now with an Elm Dash docset available, the Sublime / Elm plugin / docs ecosystem is pretty amazing, just ^h to browse docs. https://groups.google.com/forum/#!searchin/elm-discuss/peter$20docset/elm-discuss/k5E7x3McYwM/btHGxwa3CgAJ