Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Nathan Dwek
@nathdwek
which is....dark magic for me
and I'm talking at the regex level this time
So we should maybe look into that?
Could you just by the way tell me if this packages is supposed to interact with the gutter? I'm now wondering if my install is f*cked or if I'm just freaking out for no reason.
Ok actually I'm dumb
Nicolas Bigaouette
@nbigaouette
I'm not sure what it's supposed to do, more than what the screenshot does, because I can't reproduce the homepage screenshots...
Nathan Dwek
@nathdwek
Well could you try @nbigaouette replacing [\/0-9a-zA-Z._]+ with [^:\n]+
I just realized it's just a super generic regex
like anything not : or newline
So, I know your files are pretty regular, but why not give it a shot
Nicolas Bigaouette
@nbigaouette
good idea...
warningMatch:
    - (?<file>[^:\\n]+):(?<line>\\d+):(?<col>\\d+):\\s*warning:\\s*(<?message>.+)
still nothing...
(I don't have build-make, just build, with a custom .atom-build.yml)
Nathan Dwek
@nathdwek
Dumb questions, but you know it runs, right?
Nicolas Bigaouette
@nbigaouette
;) yes. make is run properly; my code gets compiled.
Nathan Dwek
@nathdwek
ah and the error matching
you need atom-linter
sorry should have come out earlier
I don't know where the handoff happens, but it might be a reason
Nicolas Bigaouette
@nbigaouette
I have linter installed too; I also have linter-cppcheck which works.
Nathan Dwek
@nathdwek
mmmh
Nicolas Bigaouette
@nbigaouette
blob
Nathan Dwek
@nathdwek
yeah I believe you :)
Nicolas Bigaouette
@nbigaouette
blob
;)
as you said, you never know, it's often small details that you forget to set properly...
Nathan Dwek
@nathdwek
Well I don't have really any idea
except two things
mmmh actually more like zero things
Yeah I'm sorry
Nicolas Bigaouette
@nbigaouette
ahha
:P
Nathan Dwek
@nathdwek
I was going to say using calling a shell to call make could lead to bizarre stuff, and running linking after compilation could make it discard error for previous target
but both are stupid
did you give build-make a try?
Nicolas Bigaouette
@nbigaouette
yes, but it freezes atom. The thing is 1) I don't use a makefile, I use cmake, 2) the repo this is run on contains a lot more than just the code, so there is no makefile in the root directory. My goal was to setup multiple 'targets' (selectable through F7). I run cmake once (per subproject) in their respective build directories, select which subproject to build using F7, and build it...
Nathan Dwek
@nathdwek
I won't make you the insult of asking if you considered build-cmake
I guess I'm all out of options :s
sorry for losing your time
Nicolas Bigaouette
@nbigaouette
I'll take any suggestiongs, there is no stupid one
well maybe asking to reboot would be a stupid one... :P
Nathan Dwek
@nathdwek
Nah I'm sorry I think I'll just go to bed
If anyone please could tell me whether this package interacts with the gutter plz plz
That would make my mind a little saner
Alexander Olsson
@noseglid
Hi. I haven't read all of your conversation yet, but build doesn't directly interact with the gutter. However, it integrates with atom-linter which does. The matched errors are sent to the linter
Nathan Dwek
@nathdwek
Hi @noseglid , thanks for answering. Still wondering if a basic (correct) setup with build + provider + linter should display stuff in the gutter? It doesn't on my setup, it doesn't look like it does in the gif in the readme (build + build-make + linter it seems, same as my current config), and I can't figure what could be going wrong if it were supposed to
Alexander Olsson
@noseglid
Are you getting any matches on your regard? I.e. is the linter displaying errors?
Nathan Dwek
@nathdwek
Yup
Just like in the gif in the readme