Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

elm-format + autocomplete #14

Open
MartinKavik opened this issue May 10, 2017 · 1 comment
Open

elm-format + autocomplete #14

MartinKavik opened this issue May 10, 2017 · 1 comment

Comments

@MartinKavik
Copy link

Hi, thank You for the super library!

I really want to use it, but I don't know how to solve incompatibility with other IDE extensions - I tried:

  1. Visual Studio Code (*.elmx compilation with Gulp and elmx extension for syntax highlighting)

    • Is it possible to format code on save (with elm-format) and don't break autocomplete (and other functions) provided by elm extension?
  2. Atom (extensions: elm-format, language-elm, language-elmx, linter-elm-make)

    • A) Is it possible to format code on save?
    • C) I think it has some problems with linter-ui-default (viz screenshot) (It will be better to create a new issue for this imho)
    • B) There is maybe another bug with linter - some red lines aren't associated with any lint errors

Thank you very much! I'll try to help as possible.
Windows 10 - Atom 1.16.0 - VS Code 1.12.1

@danneu
Copy link

danneu commented Aug 14, 2017

Yeah, I also experience point C pretty excessively. If there's any sort of red underline indicating an error, hovering over it auto-opens my JS console and spits out hundreds of errors regarding linter-ui-default.

Uncaught TypeError: range.intersectsWith is not a function
    at /Users/danneu/.atom/packages/linter-ui-default/lib/helpers.js:84:53
    at Set.forEach (native)
    at filterMessagesByRangeOrPoint (/Users/danneu/.atom/packages/linter-ui-default/lib/helpers.js:81:12)
    at Editor.updateTooltip (/Users/danneu/.atom/packages/linter-ui-default/lib/editor/index.js:223:22)
    at /Users/danneu/.atom/packages/linter-ui-default/lib/editor/index.js:184:12
    at later (/Users/danneu/.atom/packages/linter/node_modules/sb-debounce/index.js:9:14)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants