Skip to content

Conversation

@atai
Copy link

@atai atai commented Aug 3, 2019

Даигностика не проходит тест. Не могу понять, толи диапазон не правильный толи ошибка в коде. Как делать отладку не понял.
В комит попали файлы настроек, не понял почему.
.gitignor немного упорядочил.

@nixel2007 nixel2007 changed the title Йода-синтаксис #291 WIP: Йода-синтаксис. Fix #291 Aug 3, 2019
@asosnoviy
Copy link
Member

asosnoviy commented Nov 6, 2019

У нас же теперь естьlVal! Или как его там, и диагностику можно сделать нормально, без регулярки!

@nixel2007
Copy link
Member

lValue - это про ассайнмент. а здесь экспрешен внутри условия, не?

@asosnoviy
Copy link
Member

lValue - это про ассайнмент. а здесь экспрешен внутри условия, не?

Угу, я тупой =(

* Annotation Processors
* Enable annotation processing - checked

## Добавление диагностики
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Это лишнее, есть отдельный раздел с документацией

Сравнивая значения и переменные помни: переменные слева быть должны (С) Yoda

Плохо:
```BSL
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

надо исправить на bsl

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Описание стоит скорректировать по шаблону

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

и файлы переименовать по шаблону

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

оно начиналось еще в августе. тут многое уже надо дотянуть до шаблона :)

scope = DiagnosticScope.BSL,
severity = DiagnosticSeverity.MINOR,
minutesToFix = 2
)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

нужны тэги

@@ -1,5 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptSettings">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

этот файл стоит убрать ... @nixel2007 ?

@asosnoviy
Copy link
Member

Я попробую дотянуть.

@asosnoviy
Copy link
Member

asosnoviy commented Nov 6, 2019

Не хватило прав на форспуш.
Переехало в #603

@asosnoviy asosnoviy closed this Nov 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants