Gayal Kuruppu

Results 22 issues of Gayal Kuruppu

I have changed all the print statements to logging, for it to be able to run using nohup command. I have also changed some existing logging.info() lines which have given...

Refer the following scenario. In here, the unused variable `a` is there in the `extracted()` method, which can be removed with the original extract to method code action. https://user-images.githubusercontent.com/46120162/180372491-9b81c367-bb8a-411e-b080-cf5b6d398d04.mov Code...

code-actions

🚨Please review the [Troubleshooting](../#troubleshooting) section before reporting any issue. Don't forget to check also the current issues to avoid duplicates. ### Subject of the issue Describe your issue here. ###...

**Description:** **Describe your problem(s)** For LS there are use cases where we need to identify a given syntaxKind is categorised under one of these categories. 1. Expression 2. Statement 3....

Type/Improvement
Team/CompilerFE
Area/Parser

**Description:** **Steps to reproduce:** **Affected Versions:** 2201.2.0

Type/Bug
Team/LanguageServer
Area/Completion

**Description:** Main method should not be suggested in these scenarios. **Steps to reproduce:** ``` int a = 10; public function main() { } ``` **Affected Versions:** 2201.2.0

Type/Bug
Team/LanguageServer
Area/Completion

**Description:** **Describe your problem(s)** ``` public function main() { boolean z = true; int a = 1; if { } } ``` **Describe your solution(s)** Prioritize completions with type `boolean`

Type/Improvement
Team/LanguageServer
Area/Completion

**Description:** Add change variable type code action does not work for `BCE2652`. Check for other missing cases as well(if available). **Describe your problem(s)** https://user-images.githubusercontent.com/46120162/182302591-d14d65e3-a15b-40bf-a9a5-4f3050397cd5.mov *code* ``` function test() { future...

Type/Improvement
Team/LanguageServer
Area/CodeAction

## Purpose > Describe the problems, issues, or needs driving this feature/fix and include links to related issues. Original PR - https://github.com/ballerina-platform/ballerina-lang/pull/38113 Fixes #38056 ## Approach > Describe how you...

Team/LanguageServer

### Description Currently we do not provide a code action for creating a method. Diagnostic - `undefined method 'print' in object 'Person'(BCE2013)` ### Describe your problem(s) Scenario 1: ```ballerina class...

Type/Improvement
Team/LanguageServer
Area/CodeAction
needTriage
userCategory/Editor