idanpa / vscode-checkpatch

Visual Studio Code extension for using linux kernel checkpatch tool to lint code.
https://marketplace.visualstudio.com/items?itemName=idanp.checkpatch
MIT License
11 stars 4 forks source link

Advance multiroot workspace support #9

Open tolezk opened 2 years ago

tolezk commented 2 years ago

So, this commit introduces some changes. The most noticeable change is multiroot workspace support in a quite flexible way.

tolezk commented 2 years ago

Hi @idanpa,

Basing on our short conversation here I propose everythig I asked in #7.

idanpa commented 2 years ago

@tolezk I might need a few extra days to go over this change and to test it. Are these changes only addressing #7? fixing only these two things

  1. allow user to add --showfile in args
  2. have multiple different .checkpatch.conf files across the files

? (seems too much code to me, but need to take a deeper look)

tolezk commented 2 years ago

Probably it may look like a mess (sorry for that, but I decided it's better to go as is than not to go) but this change does the following:

tolezk commented 2 years ago

@idanpa please provide any feedback and I'll try to find some bandwidth to rearrange this in a way to make it easier to validate all the changes for you. Or let me know if you gonna reject this.