Skip to content

Instantly share code, notes, and snippets.

@diparthshah
Last active August 7, 2018 18:22
Show Gist options
  • Save diparthshah/fcf15a3a7b680a0d5cf4937ce46f4e39 to your computer and use it in GitHub Desktop.
Save diparthshah/fcf15a3a7b680a0d5cf4937ce46f4e39 to your computer and use it in GitHub Desktop.
Google Summer of Code 2018 - Work Product Submission

Google Summer of Code 2018 - Work Product Submission

Title: Enhancements to NetLogo Web Project

Organization: The Center for Connected Learning and Computer-Based Modeling

Student: Diparth Shah

Mentor: Jeremy Baker

Project Abstract

The main aim of the project is to integrate various features to NetLogo-Web code editor.

Work Completed

  • Jump To Procedure: This feature will add a new HTML dropdown list to existing user interface. Drop down list will contain list of all procedures in the program. Whenever user selects procedure from the list, focus will move to the procedure definition and highlight the procedure name.

  • Code Auto-Complete: This feature adds a popup box whenever user/programmer is writing code on code editor, user can choose suggestion which appears on popup box, upon choosing the suggestion from popup box the word get auto complete on editor.

  • Code Usage: This feature opens a popup with all usage occurences of selected word whenever a word is selected on the editor and keysequence is pressed. A particular occurence can be clicked and cursor will move to that line.

Work Remaining

  • Code editor as floating window

Demo

  • Link: https://staging.netlogoweb.org/

  • Jump To Procedure: Click on dropdown and select procedure name to move around procedure definitions and can make use of search option to filter procedure names.

  • Code Auto-Complete: Enable feature by ticking on Auto Complete checkbox and start typing on editor. Ticking-off checkbox will disable feature.

  • Code Usage: Select a word from code editor and press Ctrl-U or Cmd-U (on Mac) and popup will be displayed around that position, popup will contain occurences, click on required occurence that will jump to that occurence.

Link to commits

Acknowledgments

  • Jeremy Baker, my amazing and extremely helpful mentor from CCL who helped me in every difficulty i faced during the development of the project. His suggestions on every topic was invaluable and discussion with him always helped me to expand my knowledge on various topics like software engineering, NetLogo, CoffeeScript and overall Galapagos codebase and design.

  • CCL Organization, provided me an opportunity to demonstarte my skills. Robert Grider and Jason Bertsche from CCL provided reviews on PRs which helped me a lot.

  • Google, to host this program and provided me opportunity to get into world of open source software development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment