Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » VJet » Jaggery IDE(Customizing VJET for Jaggery)
Jaggery IDE [message #1019288] Fri, 15 March 2013 07:27 Go to next message
Rajeeva Uthayasangar is currently offline Rajeeva Uthayasangar
Messages: 36
Registered: March 2013
Member
Hi All,

I am developing IDE for jaggeryjs[1]. Since VJET helps to do this task, i'm customizing the vjet source.

I have created the a Jaggery source file(like JavaScript source file in VJET) with extension .jag.

But JavaScript source file is created under default package when the package name is not specified. I need to created the Jaggery source file also under the default package.

Can anyone figure out the implementation of to add default package in vjet source code?

[1]. jaggeryjs.org/

Thanks.
Re: Jaggery IDE [message #1021804 is a reply to message #1019288] Wed, 20 March 2013 14:01 Go to previous messageGo to next message
Justin Early is currently offline Justin Early
Messages: 12
Registered: June 2012
Junior Member
Hi Rajeeva.

I am not sure I understand the question?

Quote:
Can anyone figure out the implementation of to add default package in vjet source code?


What are you trying to do? If you create a .js file directly under a source directory... the default package directory will be shown in the script explorer.

For example with this folder/file structure

MyProject
   src 
      file.js  


Script explorer shows as:

MyProject
  src
    (default package}
        file.js

Re: Jaggery IDE [message #1025823 is a reply to message #1021804] Tue, 26 March 2013 07:13 Go to previous messageGo to next message
Rajeeva Uthayasangar is currently offline Rajeeva Uthayasangar
Messages: 36
Registered: March 2013
Member
Hi
I have added a new file wizard for a jaggery source file. It creates the file under the src folder but not shown under the default package shown in [1].

[1]. //lh4.googleusercontent.com/-d4dMzrqGyUQ/UVGBLCFyngI/AAAAAAAAAG8/xv5E-c1lCCs/w672-h680-p-o-k/jag.png.

In the vjet source code,
i have added two files NewJagFileWizard and NewJagFileWizardPage in org.eclispe.vjet.eclipse.internal.ui.wizards package.This only creates the newfile in projectr folder.

Can please point the implementation to shown the file under default package in vjet source code.

Thanks.



Re: Jaggery IDE [message #1036013 is a reply to message #1025823] Sun, 07 April 2013 16:46 Go to previous message
Justin Early is currently offline Justin Early
Messages: 12
Registered: June 2012
Junior Member
The default package is part of the script explorer view. When a type / file doesn't have a namespace / package the (default package) is shown.
Previous Topic:How to download VJET JavaScript Type Libraries
Next Topic:Extending VJET: Custom libraries
Goto Forum:
  


Current Time: Tue Oct 08 02:41:33 EDT 2013

Powered by FUDForum. Page generated in 0.01429 seconds