The IDE so far.

full_IDEI thought I’d give a brief overview of the state of the IDE so far before the final two week run. As it stands the HIPIE IDE has :

  • Syntax Highlighting.
  • Syntax Checking.
  • Variable Autocomplete.
  • Keyword Autocomplete.
  • A functioning Outline.
  • Databomb generation.
  • DUD file compilation using the HIPIE.jar compiler (Currently only for databombs).
  • Project preferences support.
  • Run configurations.
  • HTML, DDL and Persist file generation.
  • A design mode (Still needs to add setPersist functionality).
  • A new HIPIE project wizard.
  • A HIPIE perspective.
  • The ability to compile a DUD file, DDL file, HTML file, Databomb file and a Persist file followed by opening the HTML in either design mode or an external browser using the run shortcuts.

The run configurations page is not yet complete however. As it stands a user selects where the DUD files are stored and this generates a list of possible DUD files. Once a DUD file is selected and the user runs the config, the DUD file undergoes the normal building process.

run_configs  I will add the option to select the browser the resulting HTML file opens in.

extern

Under The Hood Changes.

The last has primarily been concerned with changing how a user creates the final html product. Previously the user associated the data files with a particular dud file and then the databomb was created on compilation of that dud file. Now the databombs are created by the user for each data file in the project with these data files being combined and used to generate the html when a particular dud is compiled. The corresponding databomb files for a particular dud file are found by matching the names of DATASETS in the outputs section with the databomb file names when the keyword databomb is used in the dud file.

Firstly a user selects a txt, csv, tsv .. etc file and saves it. They are prompted if they want to turn it into a databomb file.

prompt

If the user selects ok then they are directed to a properties page.

properties

After applying the cmd arguments and checking the box, a databomb file is created.

newFileSystem

These databomb files are combined when the dud file is compiled. Run configurations have also been added to the HIPIE perspective and these can be used to open the generated html file in an external browser.

design

Icons And Autocomplete

After generalizing the IDE so that one can actually create their own project I decided to tidy up a lot of the cosmetic bugs that plagued the dud text editor and also add some icons for common datatypes.

Firstly I overwrote the default cross reference proposal generator so that it now gives icons, styled strings and correct qualified names for datasets and nested variables within these datasets.

pretty_auto_select pretty_content

The same was done for the outline. Changes were also made to the outline style so that it’s more uniform.

pretty_outline

Also the autocomplete for keywords was improved in order to make it clearer what was being autocompleted.

auto_keyword

Now there is a distinction between keywords, essential syntax such as colons etc and variables.

Many bugs involving incorrect or obsolete autocomplete suggestions and incorrect scoped variable names were also fixed.