Ballerina-lang: Enhancement - Unresolved Reference

Created on 13 Jul 2018  路  7Comments  路  Source: ballerina-platform/ballerina-lang

Description:
Unresolved Reference for common packages like HTTP, IO in IntelliJ IDEA Editor. But the code compiles and running smoothly. Need some Indication enhancement of the style of the code base.

Affected Versions:
Ballerina 0.976.1-SNAPSHOT

OS, DB, other environment details and versions:
UBUNTU 16.04 x64

TypImprovement

Most helpful comment

The Latest releases resolve the Issue. But I opened this Issue as there was 0.976.1-SNAPSHOT public downloadable and no compatible IntelliJ plugin available at that time. Now all are updated. :-)

All 7 comments

@NGimhana - Have you set a Ballerina SDK in the project? Also can you please provide a screenshot of the project structure? There is not much detail available here to reproduce this issue.

Yes. I have set. The code runs as expected. The issue is, not identifying the Packages imported.

scr

@NGimhana - Seems like the project is not a Ballerina project. Can you try after creating a ballerina project?

The problem remains even after Initiating as a Ballerina Project module.

scr

@NGimhana - what is the plugin version you are using? Can you please check with the latest ballerina release and IntelliJ Plugin 0.980.0 since you are using a previsous SNAPSHOT version?

I think the issue is in the Ballerina pack you are using which is Ballerina 0.976.1-SNAPSHOT. In that pack, the ballerina sources were not shipped due to some changes. This issue was fixed in the Ballerina 0.980.0 version. So please use Ballerina 0.980.0 version for development.

The Latest releases resolve the Issue. But I opened this Issue as there was 0.976.1-SNAPSHOT public downloadable and no compatible IntelliJ plugin available at that time. Now all are updated. :-)

Was this page helpful?
0 / 5 - 0 ratings