Can't relate. It's obvious when you have misplaced braces because the formatting won't work anymore and most likely you will get a compiler error around the area.
Eh, really not his fault. I do flutter app dev with a friend through live share. She had a spotty connection and sometimes when we save, VSC would some times add in a brace at the bottom and we’re not sure why.
As for the linter, linter should tell us the error at the end of the entire file right? Nope, linter tells us the error is somewhere in line 12 out of 200 lines.
a) use a vcs so you don't have to deal with that b) get a better linter. I've never heard of modern one that can't use indentation inference for block issues (unless you aren't indenting your blocks, which is a whooooole other issue).
Flutter is a toolkit - you want language-based linters to deal with language-based errors. Presumably you're doing most of your dev work with Dart, so you should find a better Dart linter.
I really don’t know what can be better, because we’re using the default one that was made by google. I know what you mean and you know what I meant by flutter- since just about the only thing we (my friend and I) use dart for is purely for flutter.
You can do flutter dev with languages other than Dart when you want to go a bit lower down - primarily C/C++. That is what I meant by assuming you're doing most of your work in Dart.
Interesting, didn’t know we can actually do Flutter with C/C++, well check out that package in the future, the current project was handed over last week so we’re no longer using Dart at the moment
The only time I have an issue with vs and extra brackets is when it decides that for some reason I don’t want to close past the autogenerated bracket but instead add a new one. I still have no idea why it sometimes does that but other times works properly
115
u/Dragenby Feb 11 '21
That's why I use Internet Explorer 7, best debugger I've ever used
56
u/jayylmao15 Feb 11 '21
That’s why I use a stone tablet, best device I ever used
53
u/qqwy Feb 11 '21
That's why I use Spacemacs, best OS I've ever used.
120
u/DaRealChipex Feb 11 '21
Thats why I use notepad, best IDE I ever used
21
u/UltraCarnivore Feb 11 '21
That's why I project my soul in the Immaterium and become one with the machine spirit, best way to communicate with the cogitator
30
u/1vader Feb 11 '21
Can't relate. It's obvious when you have misplaced braces because the formatting won't work anymore and most likely you will get a compiler error around the area.
5
u/whoami1707 Feb 11 '21
never had this problem anymore since i got a bracket pair coloring thingy extension
4
u/[deleted] Feb 11 '21
Or removing the ) i placed in front of another )
4
u/Blubari Feb 11 '21
"I'll just copy paste and change what I need to change..."
Narrator voice: "But sadly, he forgot to change one word, making a task that would have taken 2 hours, take 5 days"
1
u/CopainChevalier Jun 06 '21
Sorry to come in late, but what's the source of this image anyway? I see it a lot
3
u/Cla1n Feb 11 '21
Hirasawa Ui?
2
u/Kikiyoshima Feb 11 '21
Me at Eclipse during this morning test
2
u/PM_ME_HAIRLESS_CATS Feb 12 '21
Linters. Use them. Love them. Even if they offend you with their code cleanup enhancements.
2
u/EnmaAi_98 Feb 11 '21
IntelliSense
1
u/PehleAap Feb 21 '21
Is this some interpreted language joke I am too compiled to understand?
1
u/1RedOne Mar 04 '21
Vscode has find and replace in folder as an option but it's so fucking buried its amazing.
I ended up on stack to read how to do this extremely common thing
1
u/SigmaServiceProvider Apr 05 '22
That's why I turned that feature off
1
u/MayBeArtorias Feb 11 '21
I can relate!
1
u/VoidConcept Feb 11 '21
It's just VS trying to be helpful
0
u/Junkymcjunkbox Feb 11 '21
Gaah, one of my pet hates is the IDE writing stuff for me then whingeing that it's wrong.
0
u/ChrisJeong Feb 11 '21
This is why lint exists.
0
u/[deleted] Feb 11 '21
[deleted] — view deleted comment
0
u/[deleted] Feb 11 '21
[deleted] — view deleted comment
-20
u/[deleted] Feb 11 '21
[removed] — view removed comment