-
Notifications
You must be signed in to change notification settings - Fork 104
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
Возможность управлять порогом срабатывания линзы #1857
Conversation
097cc2e
to
699e753
Compare
Вот только сегодня об этом подумал, а оно уже тут |
src/test/java/com/github/_1c_syntax/bsl/languageserver/providers/CodeLensProviderTest.java
Show resolved
Hide resolved
void testGetCodeLens() { | ||
|
||
// given | ||
DocumentContext documentContext = TestUtils.getDocumentContextFromFile(FILE_PATH); |
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.
@nixel2007 почему бы не var
везде?
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.
Копипаст из старого теста :) поправлю
void testGetCodeLens() { | ||
|
||
// given | ||
DocumentContext documentContext = TestUtils.getDocumentContextFromFile(FILE_PATH); |
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.
@nixel2007 почему бы не var везде?
Kudos, SonarCloud Quality Gate passed! |
Описание
В линзы сложностей добавлен порог срабатывания, до которого линза не показывается. По умолчанию порог установлен в -1, т.е. линза показывается всегда.
Связанные задачи
Closes #1348
Чеклист
Общие
gradlew precommit
)Для диагностик
Дополнительно