{"id":13519471,"url":"https://github.com/vmware-archive/scripted","last_synced_at":"2025-12-17T11:41:23.365Z","repository":{"id":5001872,"uuid":"6160121","full_name":"vmware-archive/scripted","owner":"vmware-archive","description":"The Scripted code editor","archived":true,"fork":false,"pushed_at":"2022-02-23T18:32:58.000Z","size":8907,"stargazers_count":1553,"open_issues_count":115,"forks_count":163,"subscribers_count":143,"default_branch":"master","last_synced_at":"2025-03-08T04:45:34.303Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vmware-archive.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-10-10T16:07:12.000Z","updated_at":"2025-01-29T15:47:17.000Z","dependencies_parsed_at":"2022-08-19T06:30:14.506Z","dependency_job_id":null,"html_url":"https://github.com/vmware-archive/scripted","commit_stats":null,"previous_names":["scripted-editor/scripted"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware-archive%2Fscripted","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware-archive%2Fscripted/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware-archive%2Fscripted/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware-archive%2Fscripted/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vmware-archive","download_url":"https://codeload.github.com/vmware-archive/scripted/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246473721,"owners_count":20783328,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T05:01:59.456Z","updated_at":"2025-12-17T11:41:18.319Z","avatar_url":"https://github.com/vmware-archive.png","language":"JavaScript","readme":"# This repository is no longer actively maintained by VMware, Inc.\n\n# Welcome to Scripted\n\n[![Build Status](https://travis-ci.org/scripted-editor/scripted.png?branch=master)](https://travis-ci.org/scripted-editor/scripted)\n\n## What is Scripted?\n\nScripted is a fast and lightweight code editor with an initial focus on JavaScript editing.\nScripted is a browser based editor and the editor itself is served from a locally running Node.js\nserver instance.  \n\n\u003ccenter\u003e\n\u003cimg src=\"http://dist.springsource.org/release/SCRIPTED/screenshot2.png\" width=\"736\" height=\"451\"/\u003e\n\u003c/center\u003e\n\nWhat are the key features?\n\n- Fast startup, lightweight.\n- Syntax highlighting for JavaScript, HTML and CSS.\n- Errors and warnings: \n\t- JSHint is integrated to provide error/warning markers on JavaScript code.\n\t- AMD and CommonJS module resolution: there is basic resolution where unresolved references will be marked as errors.\n- Content assist:\n\t- Basic content assist for HTML, CSS\n\t- For JavaScript, content assist is driven by a type inferencing engine which is aware of AMD/CommonJS module \ndependencies and also uses JSDoc comments to help it understand the code.\n- Hovers: hovering over a JavaScript identifier will bring up the inferred type signature.\n- Navigation: \n\t- press F8 on an identifier (that the inferencer has recognized) and the editor will navigate to the declaration.\n\t- this also works on module identifiers (e.g. in `define()` clauses)\n- Formatting: JSbeautify is integrated\n- Sidepanel: alongside the main editor a sidepanel can be opened - currently this can be used to host a second editor.\n- Key binding to external command: Key bindings in the editor can invoke external commands (less, mvn, etc)\n\nThe editor is actually the [Eclipse Orion](http://www.eclipse.org/orion/) editor with a few additional bells and whistles.\nAnyone familiar with editing in Eclipse will immediately know many of the key bindings\nthe Scripted editor supports.\n\nMany of these are covered in this introductory screencast:\u003cbr\u003e\n\u003ca href=\"http://dist.springsource.org/release/SCRIPTED/Scripted2.mov\"\u003e\u003cimg align=\"center\" src=\"http://dist.springsource.org/release/SCRIPTED/posterScripted2.png\" width=\"428\" height=\"263\"/\u003e\u003c/a\u003e\n\n# How do I try it out?\n\nThe only pre-req for trying it out is that you have Node.js installed. Grab it from here: [http://nodejs.org/](http://nodejs.org).\nThe team has been testing with a range of versions from 0.6 to 0.8 but haven't tested all of them exhaustively. It is recommended\nthat you try to use the latest (0.8.16 at time of writing).\n\n### Installing the most recent release via npm\n\n    npm install -g scripted\n\n(possibly with a `sudo` prefix on linux/mac). This will install the most recently published release. There are no further steps if installing via this route and `scr` command will immediately be available to launch Scripted.\n\n### Installing the very latest code via npm\n\nThis will install directly from master.\n\n    npm install -g https://github.com/scripted-editor/scripted/tarball/master\n\n(again possibly with a `sudo`). Master is under constant development so you may see a hiccup or two but we try to keep it fully functional.\n\n### Download a packaged zip\n\n[Version 0.4.0 zip](http://dist.springsource.org/release/SCRIPTED/scripted_v0.4.0.zip)\u003cbr\u003e\n[Version 0.4.0 Release Notes](http://scripted-editor.github.com/scripted/release_notes/0_4_0/scripted_0_4_0.html)\n\n[Version 0.3.0 zip](http://dist.springsource.org/release/SCRIPTED/scripted_v0.3.0.zip)\u003cbr\u003e\n[Version 0.3.0 Release Notes](http://scripted-editor.github.com/scripted/release_notes/0_3_0/scripted_0_3_0.html)\n\nOnce unzipped, ensure the bin folder contents are executable on mac/linux: `chmod 755 bin/*`\n\nAnd add the bin folder to your PATH.\n\n\tmac/linux: export PATH=\u003cpathToUnzipLocationOrClone\u003e/bin:$PATH\n\twin: set PATH=\u003cpathToUnzipLocationOrClone\u003e\\bin;%PATH%\n\n### Clone the repository and install it or run from it:\n\n\tgit clone https://github.com/scripted-editor/scripted\n\tcd scripted\n\tnpm install\n\nIf you already have a clone of the scripted repo and want to update to the latest master, don't \nforget that you also need to update external dependencies that may have changed. Run the following\ncommands from the root of your clone.\n\n    git checkout master\n    git pull\n    git clean -fxd\n    npm install   \n\n\n### Running it\n\nWhatever route you took to installing it, just run:\n\n\tscr myfile.js\n\nWhen working with Scripted, think about it like using `vi`/`emacs`. From wherever you are in your terminal window you \ncan launch Scripted and start editing a file.\n\nLaunching scripted will cause the Node.js server to start in the background.\n\nHere are some of the more vital key bindings to use once the editor is open. Where `Cmd/Ctrl` is specified it means `Cmd` on Mac and `Ctrl` on Linux/Windows:\n\n- `F1` - open help to show all key bindings (or press '?' in the top right)\n- `Cmd/Ctrl+s` - save!\n- `Cmd/Ctrl+Shift+E` - open/close subeditor\n- `Cmd/Ctrl+Shift+F` - open Find File dialog. Inside the dialog, you can search for files in the project by regular expression and:\n   - `Click` a result to open it in main editor\n   - `Shift+Click` a result to open it in sub-editor\n   - `Cmd/Ctrl+Click` a result to open it in a new tab\n- `Cmd/Ctrl+Shift+o` - open outline view. A dialog will present the functions and you can quickly navigate to them\n- `Cmd/Ctrl+F` - in-file search\n- `Ctrl+Space` - content assist\n- `F8` - navigate to declaration\n- `Shift+F8` - open declaration in subeditor\n- `Cmd/Ctrl+F8` - navigate to declaration in new tab\n- `Alt+Shift+F` - format\n\nOn the left hand side is a traditional navigator for opening different files. Above the editor is a breadcrumb, hover over a component to see other files in that directory.\n\nThe editor does support a degree of customization, see the section on the [Features](https://github.com/scripted-editor/scripted/wiki/Features) page.\n\nScripted receives most testing in Chrome and Firefox, you may need one of those browsers in order to get the most out of it.\n\n# Anything else I need to know before using it?\n\nWhen you open Scripted on a file, it will attempt to infer the root of your project by locating the nearest `.git`/`.project` file\nin the hierarchy. Knowing the root is important because that is the scope in which searching and dependency analysis is done. If\nyou don't have one of these markers for the root, you can create an empty `.scripted` file to indicate the root.\n\n# Current status\n\nAs of Jan 2013 the project is at version 0.3. There is a long way to go but the team have been using Scripted to develop Scripted for a while now.\n\n# Further reading\n\n- [Features](https://github.com/scripted-editor/scripted/wiki/Features)\n- [FAQ](https://github.com/scripted-editor/scripted/wiki/FAQ)\n- [Troubleshooting](https://github.com/scripted-editor/scripted/wiki/FAQ#wiki-Troubleshooting)\n- [Architecture](https://github.com/scripted-editor/scripted/wiki/Architecture)\n\n# Where can I ask questions, provide feedback or raise issues?\n\n- The [scripted-dev google group](https://groups.google.com/forum/#!forum/scripted-dev) is open for questions and discussion\n- The [issuetracker](https://issuetracker.springsource.com/browse/scripted) to raise issues or take a look and vote on existing issues.\n\n# What's next for Scripted?\n\n- Even smarter inferencing, leading to better content assist and easier navigation.\n- More panes for the side panel. Currently there is just an editor pane but we intend to include search results panes,\ndocumentation, git information panes, perhaps code preview and simulated code execution panes. The intention will be\nfor Scripted to try and automatically manage these where possible, so all the content on screen is kept relevant\nto the task at hand.\n- Simple plugin system. \n- Debugging. Exploring integration with tools like Chrome Dev Tools and node inspector.\n\nIf you have more ideas for what you'd like to see, let us know via\na [Github issue](https://github.com/scripted-editor/scripted/issues) or \nour [scripted-dev](https://groups.google.com/forum/#!forum/scripted-dev) discussion group.\n\n# Can I contribute?\n\nSure! Just press *Fork* at the top of this github page and get coding. Before we accept pull requests we just need you to sign a simple contributor's\nagreement - which you can find [here](https://support.springsource.com/spring_eclipsecla_committer_signup). Signing the contributor's agreement does not grant anyone commit rights to the main repository, but it does mean that we can accept your contributions, and you will get an author credit if we do. Active contributors might be asked to join the core team, and given the ability to merge pull requests.\nPull requests should ideally reference a JIRA ticket in the [issuetracker](https://issuetracker.springsource.com/browse/SCRIPTED) that details what the request is addressing.\n\nThe codebase is entirely JavaScript/HTML/CSS.\n\nIf you are keen to contribute but aren't sure what to work on, take a look at\nthe [github issues](https://github.com/scripted-editor/scripted/issues) for inspiration.\nThe codebase is very new in places and isn't that tricky to get to grips with.\n\nIf you don't feel like coding but still want to contribute, please join the discussion on the issues and scripted-dev group.\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmware-archive%2Fscripted","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvmware-archive%2Fscripted","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmware-archive%2Fscripted/lists"}