ballerina-lang icon indicating copy to clipboard operation
ballerina-lang copied to clipboard

The Ballerina Programming Language

Results 632 ballerina-lang issues
Sort by recently updated
recently updated
newest added

### Description As shown below, the correct CA is to change the variable type from `boolean` to `string`. Instead, there is a redundant CA `Change return type to 'error'` that...

Type/Bug
Team/LanguageServer
Area/CodeAction

### Description The panics will terminate the program abruptly. So they will not start the graceful shutdown sequence. Anyway currently even a panic in the main allows to execute the...

Type/Bug
Team/jBallerina

### Description As shown below, a function call completion item is provided for a context that expects a function pointer. ### Steps to Reproduce Prompt completion items for the following...

Type/Bug
Team/LanguageServer
Area/Completion

### Description Executing the respective CA as shown below makes no changes to the code. Ideally, this CA should not be provided as it cannot determine the return type of...

Type/Bug
Team/LanguageServer
Area/CodeAction

### Description It would be convenient for the user to provide a diagnostic-based CA for `unused variable 'e' with inferred type including error (BCE3998)`, as it is not compulsory to...

Type/Improvement
Priority/Low
Team/LanguageServer
Area/CodeAction

### Description For scenarios that can change an if-else block to a ternary expression, the LS should provide a CA to the user to perform the respective action. Providing this...

Type/Improvement
Priority/Low
Team/LanguageServer
Area/CodeAction

### Description The function snippet generated for a library function under an isolated variable does not contain the `isolated` keyword, and hence, the CA produces erroneous code. Please refer to...

Type/Bug
Team/LanguageServer
Area/Completion

**Description:** ``` import ballerina/http; service on new http:Listener(0) { } ``` As shown above, the auto-complete snippet generates the service with the port 0. Instead shall we provide a port...

Type/Improvement
Priority/Low
Team/LanguageServer
Area/Completion
GA-Test-Hackathon

### Description When users declare new types as unions of literal values, they often need to extract these literals as constants for reuse throughout their codebase. However, our current code...

Type/Improvement
Team/LanguageServer
Area/CodeAction

## Purpose $subject With this PR, a new annotation is introduced to annotate ballerina type definitions which are accessed through external Java dependencies. Fixes #42205 ## Approach This new annotation...