-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Csc linter #2586
Csc linter #2586
Conversation
As mono project does not continue development on mcs but puts all efforts in the csc compiler the csc linter is added in general it is a one to one copy and thus replacement for the mcsc linter. A small fix in the sign.vim is added which prevents error when vim is started in verbose modes especially -V15. This is caused by the fact that captured buffer not just contains SignLine format string but also filename line number and all controll flags. This is prevented by defining a separate function just capturing SignLine format which than is called with verbosity explicitly turned off.
As mono project does not continue development on mcs but puts all efforts in the csc compiler the csc linter is added in general it is a one to one copy and thus replacement for the mcsc linter. A small fix in the sign.vim is added which prevents error when vim is started in verbose modes especially -V15. This is caused by the fact that captured buffer not just contains SignLine format string but also filename line number and all controll flags. This is prevented by defining a separate function just capturing SignLine format which than is called with verbosity explicitly turned off.
As mono project does not continue development on mcs but puts all efforts in the csc compiler the csc linter is added in general it is a one to one copy and thus replacement for the mcsc linter. A small fix in the sign.vim is added which prevents error when vim is started in verbose modes especially -V15. This is caused by the fact that captured buffer not just contains SignLine format string but also filename line number and all controll flags. This is prevented by defining a separate function just capturing SignLine format which than is called with verbosity explicitly turned off.
I'm not sure what is wrong and from Travis logs I do fail to deduce what to change to make Travis checks running.
I have first updated my forks master to upstream master and than created from fork master a new branch to not get in conflict with the previous one. Hopefully nothing went wrong there. Stuck need help of somebody to pull me back on road. Should i do a rebase the head of my fork and thus the active feature branch, as upstream head has changed at the same time while i was introducing the changes on my feature branch? From the raw logs it seems as if something with the latest build image it tries to download seems something wrong. Not sure if i could do there something. Could it be that it fetches a work in progress image erroneously? |
As mono project does not continue development on mcs but puts all efforts in the csc compiler the csc linter is added in general it is a one to one copy and thus replacement for the mcsc linter. A small fix in the sign.vim is added which prevents error when vim is started in verbose modes especially -V15. This is caused by the fact that captured buffer not just contains SignLine format string but also filename line number and all controll flags. This is prevented by defining a separate function just capturing SignLine format which than is called with verbosity explicitly turned off.
As mono project does not continue development on mcs but puts all efforts in the csc compiler the csc linter is added in general it is a one to one copy and thus replacement for the mcsc linter. A small fix in the sign.vim is added which prevents error when vim is started in verbose modes especially -V15. This is caused by the fact that captured buffer not just contains SignLine format string but also filename line number and all controll flags. This is prevented by defining a separate function just capturing SignLine format which than is called with verbosity explicitly turned off.
As mono project does not continue development on mcs but puts all efforts in the csc compiler the csc linter is added in general it is a one to one copy and thus replacement for the mcsc linter. A small fix in the sign.vim is added which prevents error when vim is started in verbose modes especially -V15. This is caused by the fact that captured buffer not just contains SignLine format string but also filename line number and all controll flags. This is prevented by defining a separate function just capturing SignLine format which than is called with verbosity explicitly turned off.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the test code in sign.vim
. That's probably what's causing Travis to break. Add tests for the changes to the other linter.
As mono project does not continue development on mcs but puts all efforts in the csc compiler the csc linter is added in general it is a one to one copy and thus replacement for the mcsc linter. A small fix in the sign.vim is added which prevents error when vim is started in verbose modes especially -V15. This is caused by the fact that captured buffer not just contains SignLine format string but also filename line number and all controll flags. This is prevented by defining a separate function just capturing SignLine format which than is called with verbosity explicitly turned off.
Aaaaaaaggggrrrrrrrr fucing echos. Can we have there a custom check report in the --linters-only test checking for unexpected echo calls outside expected locations. Thanks again i have now the test output and can continue fixing what is really improper. |
As mono project does not continue development on mcs but puts all efforts in the csc compiler the csc linter is added in general it is a one to one copy and thus replacement for the mcsc linter. A small fix in the sign.vim is added which prevents error when vim is started in verbose modes especially -V15. This is caused by the fact that captured buffer not just contains SignLine format string but also filename line number and all controll flags. This is prevented by defining a separate function just capturing SignLine format which than is called with verbosity explicitly turned off.
As mono project does not continue development on mcs but puts all efforts in the csc compiler the csc linter is added in general it is a one to one copy and thus replacement for the mcsc linter. A small fix in the sign.vim is added which prevents error when vim is started in verbose modes especially -V15. This is caused by the fact that captured buffer not just contains SignLine format string but also filename line number and all controll flags. This is prevented by defining a separate function just capturing SignLine format which than is called with verbosity explicitly turned off.
As mono project does not continue development on mcs but puts all efforts in the csc compiler the csc linter is added in general it is a one to one copy and thus replacement for the mcsc linter. A small fix in the sign.vim is added which prevents error when vim is started in verbose modes especially -V15. This is caused by the fact that captured buffer not just contains SignLine format string but also filename line number and all controll flags. This is prevented by defining a separate function just capturing SignLine format which than is called with verbosity explicitly turned off.
As mono project does not continue development on mcs but puts all efforts in the csc compiler the csc linter is added in general it is a one to one copy and thus replacement for the mcsc linter. A small fix in the sign.vim is added which prevents error when vim is started in verbose modes especially -V15. This is caused by the fact that captured buffer not just contains SignLine format string but also filename line number and all controll flags. This is prevented by defining a separate function just capturing SignLine format which than is called with verbosity explicitly turned off.
As mono project does not continue development on mcs but puts all efforts in the csc compiler the csc linter is added in general it is a one to one copy and thus replacement for the mcsc linter. A small fix in the sign.vim is added which prevents error when vim is started in verbose modes especially -V15. This is caused by the fact that captured buffer not just contains SignLine format string but also filename line number and all controll flags. This is prevented by defining a separate function just capturing SignLine format which than is called with verbosity explicitly turned off.
As mono project does not continue development on mcs but puts all efforts in the csc compiler the csc linter is added in general it is a one to one copy and thus replacement for the mcsc linter. A small fix in the sign.vim is added which prevents error when vim is started in verbose modes especially -V15. This is caused by the fact that captured buffer not just contains SignLine format string but also filename line number and all controll flags. This is prevented by defining a separate function just capturing SignLine format which than is called with verbosity explicitly turned off.
As mono project does not continue development on mcs but puts all efforts in the csc compiler the csc linter is added in general it is a one to one copy and thus replacement for the mcsc linter. A small fix in the sign.vim is added which prevents error when vim is started in verbose modes especially -V15. This is caused by the fact that captured buffer not just contains SignLine format string but also filename line number and all controll flags. This is prevented by defining a separate function just capturing SignLine format which than is called with verbosity explicitly turned off.
As mono project does not continue development on mcs but puts all efforts in the csc compiler the csc linter is added in general it is a one to one copy and thus replacement for the mcsc linter. A small fix in the sign.vim is added which prevents error when vim is started in verbose modes especially -V15. This is caused by the fact that captured buffer not just contains SignLine format string but also filename line number and all controll flags. This is prevented by defining a separate function just capturing SignLine format which than is called with verbosity explicitly turned off.
Ok than you very much again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I revert all of the changes to sign.vim, which aren't related.
Cheers! 🍻 |
* Added a new csc linter for C# code. * More output is now handled for mcsc.
Where are the tests? Have you added tests? Have you updated the tests? Read the
comment above and the documentation referenced in it first. Write tests!
Seriously, read
:help ale-dev
and write tests.Hi has been some time since adding mcsc linter meanwhile plenty has change on mono side. The mcs compiler which is utilized by mcs and mcsc linters is not further developed in favour for the csc. The latter differs in the following three points output to stdout options prefixed by / instead of - and no /syntax so no csc based counter part to the ale-cs-mcs linterr.
I start the pull request now to have Travis check if my assumption that exempt from the above everything already existent for mcsc can be reused for csc. I will need some iterations and thus let you know when ready for final review.
Besides mcsc and csc got additional pattrn to capture messages not specific to source file, which were not captured before,