-
Notifications
You must be signed in to change notification settings - Fork 758
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add codeLens feature for Language Server #13297
Conversation
Signed-off-by: Rasika <info.rasika@gmail.com>
Signed-off-by: Rasika <info.rasika@gmail.com>
Modified API Designer to open specific service when service name is passed as an argument. Signed-off-by: Rasika <info.rasika@gmail.com>
Modified showDocs docs renderer to focus on a specific construct when an argument is passed Signed-off-by: Rasika <info.rasika@gmail.com>
Signed-off-by: Rasika <info.rasika@gmail.com>
Signed-off-by: Rasika <info.rasika@gmail.com>
Signed-off-by: Rasika <info.rasika@gmail.com>
Signed-off-by: Rasika <info.rasika@gmail.com>
Signed-off-by: Rasika <info.rasika@gmail.com>
Signed-off-by: Rasika <info.rasika@gmail.com>
Signed-off-by: Rasika <info.rasika@gmail.com>
Signed-off-by: Rasika <info.rasika@gmail.com>
Signed-off-by: Rasika <info.rasika@gmail.com>
Signed-off-by: Rasika <info.rasika@gmail.com>
import java.util.List; | ||
|
||
/** | ||
* Find the endpoints visiting functions and services of a BLangCompilationUnit |
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.
Missing full stop
if (topLevelNode instanceof BLangTypeDefinition) { | ||
BLangTypeDefinition definition = (BLangTypeDefinition) topLevelNode; | ||
if (definition.typeNode instanceof BLangObjectTypeNode) { | ||
if (!((BLangObjectTypeNode) definition.typeNode).flagSet.contains(Flag.SERVICE)) { |
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.
is it possible to merge these two if conditions to a single one?
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.
Since there's a casting involved; bringing it into a single line affects the readability. WDYT?
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.
Great, let's keep this way :)
Signed-off-by: Rasika <info.rasika@gmail.com>
Fix checkstyle issues
Codecov Report
@@ Coverage Diff @@
## master #13297 +/- ##
============================================
+ Coverage 59.9% 59.96% +0.05%
Complexity 659 659
============================================
Files 2146 2156 +10
Lines 104029 104360 +331
Branches 13253 13301 +48
============================================
+ Hits 62320 62580 +260
- Misses 36483 36544 +61
- Partials 5226 5236 +10
Continue to review full report at Codecov.
|
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.
Reviewed
Purpose