linter icon indicating copy to clipboard operation
linter copied to clipboard

Atom on open, linter doesnt lint

Open marksagal opened this issue 7 years ago • 20 comments

lint_on_open_bug

Hi, Lint on Open is checked but the files is not lint automatically when they are open (when atom previews last session)

Scenario: Open atom text editor

marksagal avatar Mar 15 '17 00:03 marksagal

Will investigate

steelbrain avatar Mar 15 '17 00:03 steelbrain

Cannot repro this on latest versions of Linter and It's UI on macOSX on v1.16.0-beta0

steelbrain avatar Mar 15 '17 02:03 steelbrain

here's the screencast that may help linter

marksagal avatar Mar 15 '17 04:03 marksagal

I am having the same issue as well. mar-16-2017 15-05-43 screen shot 2017-03-16 at 3 05 55 pm

brand-it avatar Mar 16 '17 20:03 brand-it

Also seams to be ignore the show rules at the bottom as well

brand-it avatar Mar 16 '17 20:03 brand-it

@newdark The UI has been split into a separate package, all settings related to the display of messages can be found in the linter-ui-default package.

Arcanemagus avatar Mar 16 '17 20:03 Arcanemagus

Oh nifty thanks @Arcanemagus

brand-it avatar Mar 16 '17 20:03 brand-it

I am facing the same issue :(.

codeAscetic avatar Mar 21 '17 16:03 codeAscetic

I can reproduce this as well.

Arcanemagus avatar Mar 22 '17 22:03 Arcanemagus

I face the same problem, Linter is only activated on preview tab. I am using the latex plugin and linter only works when I press on a pdf and synctex brings the point where I clicked inside the .tex file. I am using Linux. out2

In the left, one can see the tex file used to produce the pdf on the right. This instance of the tex file does not have any linter warnings on it. However, when I click on the pdf and the synctex redirects me to the same tex file (which appears in the place of the pdf), linter warnings show up. I have not found any other way to view the linter warnings. The settings are the default ones and the additional plugins are not to blame, as the same happens when I have them all disabled, apart from linter. I hope this get fixed soon.

VasLem avatar Mar 23 '17 15:03 VasLem

Lovely, I can't reproduce today when we tried to debug this, and @steelbrain still is unable to reproduce 😕.

@VasLem I'm not sure what you are meaning there, this issue is about Linter not triggering a lint on opening a file. I'm not entirely sure what your screencast is showing.

Arcanemagus avatar Mar 23 '17 16:03 Arcanemagus

@Arcanemagus You are right, my description was a bit misguiding, I updated my comment. All in all, linter shows up only in the situtation I describe, neither when I open a file, nor when I save it or edit it or have it already opened when opening Atom, so yes, this could get a new post by itself. The screencast shows only the situation where linter works. I would like to add that this behavior started happening when I updated Atom to latest version. Both Atom 15 and Atom 16 beta produce this problem. Did you update linter too when Atom was updated, or should I downgrade Atom and check again?

VasLem avatar Mar 23 '17 17:03 VasLem

@VasLem Can you file a new issue as what you are describing is definitely not the same as this. As a note Linter definitely works on the latest Atom as I'm running Atom v1.16.0-beta0 😉.

Arcanemagus avatar Mar 23 '17 18:03 Arcanemagus

I also have this issue, basically linter doesn't lint anything, whatever the error...

HIImPatrick avatar Mar 28 '17 20:03 HIImPatrick

@Initiols What you are describing is a completely separate issue (although maybe related to what @VasLem is experiencing). This issue is only about Linter not triggering a lint on restoring a session on startup of Atom.

Arcanemagus avatar Mar 28 '17 20:03 Arcanemagus

@Arcanemagus oh, well this is what's happening for me, linter never linting, should I write a post about it ?

HIImPatrick avatar Mar 29 '17 06:03 HIImPatrick

@Initiols Sure, no need to spam the other 6 people in this issue while we try to figure out what is going on. When filing the issue please provide the Linter debug output when you have a file you are expecting linting on open. Thanks!

Arcanemagus avatar Mar 29 '17 16:03 Arcanemagus

Just to confirm that I have that issue too. BTW: The linter-package is installed at Platfromio.org and not at the normal package folder.

iGyver avatar May 31 '18 13:05 iGyver

Having the same issue. Linter never works on any type of file. Had installed both ui and linter-spell. apm-list: ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected]

Check the cmd atom.packages.activatingPackages, any package above is not there 😕

Linter: Debug works fine.

Platform: darwin
Atom Version: 1.38.2
Linter Version: 2.3.0
Opened file is ignored: No
Matching Linter Providers: 
  - Spelling
Disabled Linter Providers: 
Standard Linter Providers: 
  - Spelling
Indie Linter Providers: 
  - Python (pyls)
UI Providers: 
  - Linter
Ignore Glob: **/*.min.{js,css}
VCS Ignored Paths are excluded: true
Current File Scopes: 
  - *
  - source.gfm

where current file is a markdown.

AstrickHarren avatar Jun 28 '19 00:06 AstrickHarren

You should try to install UI package for Atom. That is apm install atom-ide-ui

quanhoang-pm avatar Aug 27 '19 10:08 quanhoang-pm