Coder Social home page Coder Social logo

java-code-editor's Introduction

Simple Java Code Editor - Final Version is on Master Branch

PLEASE USE LATEST JDK BEFORE EXECUTING THE PROGRAM TO AVOID ISSUE

KeyWord Count

  • Keyword count uses the Java Abstract Syntax Tree, thus the keyword count is updated only when there are no compile errors.

  • Examples of valid keywords

for(int i = 0; i < 10; i++) {
}

for(;;)
  doSomething();
  
for( Object obj : arr ){
}

do{
}while(true);

while(true){}

if(true){}

// this will count as 2 keywords
if(true)
  i = 0;
else
  i = 1;
 
  • Examples of invalid keywords
String s = "if";

// while 
  • Based on the project description, the following code will count as 6 keywords, because there are 3 ifs and 3 elses.
if(...){}
else if(...){}
else if(...){}
else{}

Compiling

  • Compile All will compile all project files. Similar to visual studio, if a file is not part of a project it will not be able to compile.
  • Compiling a file will auto-save that file. Compiling Main and compile all will auto-save the project.

java-code-editor's People

Contributors

calebstrain avatar thieny1991 avatar zbrewer185 avatar keithdinhcs avatar tuyencaok avatar kietdinh avatar zdbrewer avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.