Matt Pass a63b9e3ff4 Many session & setting tweaks & simplication
Only start a session if we haven't yet got a session object
(Avoids warnings from PHP)
Define our settingsFile, used in many places now
serverRoot gone, no longer needed (this is now docRoot)
Specify versionNo, codeMirrorDir & cMThisVer here now
(This means we don't overwrite users config settings each time we change
version no and they pull from Github, overwriting all their settings)
These 3 vars prefixed to the ICEcoder settings array
settingsNew now created from array & for loop, much simpler
Same for 4 session vars, created in similar way
docRoot & iceRoot now defined here
(As settings.php is loaded by just about every PHP file, they are now
available everywhere)
These, plus user level, security vars, IP address code moved to all be
together
settingsContents 1 & 2 now just settingsContents
saved files in previousFiles & last10Files now docRoot prefixed, making
them full paths to files
Clearer wording & other minor tweaks
2012-07-27 12:05:37 +01:00
2012-07-10 17:53:58 +01:00
2012-07-27 11:34:37 +01:00
2012-07-27 11:30:21 +01:00
2012-05-24 18:23:48 +01:00

#ICEcoder ##Web based IDE for smart web development

Early version of the web based IDE which allows for creation of websites in the web browser. Uses the brilliant CodeMirror for code highlighting & editing, with a slick IDE wrapped around it to make the whole thing work.

###Features you'd expect

  • Context aware code highlighting
  • Supports HTML, CSS, LESS, JavaScript, CoffeeScript, PHP & Ruby
  • Smart tab key system (selected text indents line)
  • File manager
  • Find & replace/replace all
  • Document tabs indicate current doc & changes made
  • Code folding
  • Open last files on load
  • Web based, access from anywhere
  • Free, open source & customisable

###Cool features you wouldn't expect

  • Find & replace in current doc, open docs, files & filenames
  • Found match & current position counter
  • Indicates content type cursor is on
  • Account login to keep certain files secure
  • Restrict files, ban files and restrict by IP
  • Settings to change functionality & editor theme
  • Code Assist system
  • Displays nest position of text cursor, hover to select, click to set cursor
  • Nest structure OK/broken indicator
  • Highlight word and press CTRL+I to Google search that
  • Adds end tags as you type and in a context aware way
  • Can rename open files (whoaah!)
  • CTRL+Enter open current webpage in new tab
  • CTRL+S+Enter opens a sticky tab to show live edits
  • ESC = Comment/Uncomment line, incl partial lines
  • Image viewer
  • Colour preview block on CSS colours, ie red, #ff0000 or RGBA(255,0,0,0.5)
  • MySQL Database management via Adminer plugin
  • Backs up files every 10 mins or on click of backup plugin icon

###Installation

####Step 1: Clone the repo

$ git clone git@github:mattpass/ICEcoder

####Step 2: Upload the files (Linux or Windows hosting OK)

Upload to a new sub-dir URL such as yourdomain.com/_coder
Set public write permissions on the backups folder and lib/config.php file

####Step 3: Start coding

Visit the sub-dir URL in your browser and enter a password
Now you're setup, auto-logged in and ready to code!

Suitable for commercial & non-commercial projects, just let me know if it's useful to you and any cool customisations you make to it. I take no responsibility for anything, your usage is all down to you.

Is fully open source and I'd encourage you to take it, make it your own and customise to your hearts content! :)

Plenty of comments included in the code to assist with understanding, customising etc.

Comments, improvements & feedback welcomed!

Description
No description provided
Readme 11 MiB
Languages
PHP 67.9%
JavaScript 19.5%
CSS 12.6%