2

I am learning Ballerina programming language and I have to do Integrations with Ballerina,I have installed and trying everything with VSCode only. But unable to create a Ballerina Integrator Project with VSCode, it shows message like Successfully created message only but project is not available in the specified folder. Please someone help me to do further.

ThisaruG
  • 3,222
  • 7
  • 38
  • 60
Sumathi
  • 93
  • 10

2 Answers2

2

You can create a new project from VSCode Dashboard by entering CMD+SHIFT+P (on mac).

  1. Click on Ballerina Integrator Dashboard
  2. Click on Create a new Project dashboard
  3. Enter the project name project name
  4. The same as above enter a name for the module.
  5. It will open a folder location where you need to save the project.
  6. Click to create the project.
  7. Then the project will open with a new window in VS Code.

Alternatively, you can create a new project from your project terminal and open it in the VSCode.

  1. Go to the desired location in the terminal and type below to create the project.

ballerina new [project-name]

eg: ballerina new project1

  1. Navigate to the project directory and add a module using the following command.

ballerina add [module-name]

ballerina add module1

  1. You can open the project from the VSCode.

Please refer [3]

[3] - https://ei.docs.wso2.com/en/latest/ballerina-integrator/get-started/quick-start-guide/

  • Thank You. Actually i tried with alternative way only which u mentioned, i am able to do from that way. But from VSCode i am unable to create completely. Upto 6th step its going properly but it doesnt open the project in new terminal. – Sumathi Nov 26 '19 at 04:48
  • Please check whether you are using the latest Ballerina Integrator plugin (current 0.12.3) as well as the correct ballerina version (1.0.2 or 1.0.3). – Pramodya Mendis Nov 26 '19 at 12:21
0

Make sure you are using the latest Ballerina Integrator plugin (current 0.12.3) as well as the correct ballerina version (1.0.2 or 1.0.3).