ice_code_editor 1.0.0

  • README.md
  • Installing
  • Versions
  • 29

ICE Code Editor

Build Status

Try it now!

The Code Editor + Visualization Preview used in the book “3D Game Programming for Kids.” Written in Dart.

ICE Code Editor Screenshot

The old JavaScript version proved unmaintainable, hence the switch to Dart. This version leverages many of the benefits of Dart: cross-browser support, testing, documentation.

Running the Example App

You'll need Dart installed. To run the examples:

  1. Install dependencies with pub install
  2. Start the pub web server with pub serve
  3. Open the full-screen version of ICE at http://localhost:8080/full.html with Dartium

Examples are contained in the web directory.

Features

  • Update button
  • Hide Code button
  • Main Menu button
    • Open
    • New
    • Make a Copy
    • Save
    • Rename
    • Share
    • Download
    • Remove
    • Help

Build

Because ICE relies on js-interop, not just dart:js, the build process requires that it is always built for development release (even in production):

$ pub build --mode=development

Core Collaborators

Contributors

Want to Help?

#pairwithme

Chris (twitter / blog) runs nightly (1030pm EDT / 0230 UTC) pairing sessions. Sign up for free to help out and learn some Dart! Absolutely no experience required. Really :)

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  ice_code_editor: "^1.0.0"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:ice_code_editor/editor.dart';

import 'package:ice_code_editor/full.dart';

import 'package:ice_code_editor/full/copy_dialog.dart';

import 'package:ice_code_editor/full/default_project.dart';

import 'package:ice_code_editor/full/dialog.dart';

import 'package:ice_code_editor/full/download_dialog.dart';

import 'package:ice_code_editor/full/export_dialog.dart';

import 'package:ice_code_editor/full/help_action.dart';

import 'package:ice_code_editor/full/import_dialog.dart';

import 'package:ice_code_editor/full/menu_action.dart';

import 'package:ice_code_editor/full/menu_item.dart';

import 'package:ice_code_editor/full/new_project_dialog.dart';

import 'package:ice_code_editor/full/notify.dart';

import 'package:ice_code_editor/full/open_dialog.dart';

import 'package:ice_code_editor/full/remove_dialog.dart';

import 'package:ice_code_editor/full/rename_dialog.dart';

import 'package:ice_code_editor/full/save_action.dart';

import 'package:ice_code_editor/full/share_dialog.dart';

import 'package:ice_code_editor/full/snapshotter.dart';

import 'package:ice_code_editor/full/templates.dart';

import 'package:ice_code_editor/full/validate.dart';

import 'package:ice_code_editor/full/whats_new_action.dart';

import 'package:ice_code_editor/gzip.dart';

import 'package:ice_code_editor/ice.dart';

import 'package:ice_code_editor/polymer/ice_code_editor_element.dart';

import 'package:ice_code_editor/settings.dart';

import 'package:ice_code_editor/store.dart';
        
Version Uploaded Documentation Archive
1.0.0 Nov 23, 2014 Go to the documentation of ice_code_editor 1.0.0 Download ice_code_editor 1.0.0 archive
0.2.1 Apr 6, 2014 Go to the documentation of ice_code_editor 0.2.1 Download ice_code_editor 0.2.1 archive
0.0.12 Sep 7, 2013 Go to the documentation of ice_code_editor 0.0.12 Download ice_code_editor 0.0.12 archive
0.0.11 Aug 31, 2013 Go to the documentation of ice_code_editor 0.0.11 Download ice_code_editor 0.0.11 archive
0.0.9 Jul 20, 2013 Go to the documentation of ice_code_editor 0.0.9 Download ice_code_editor 0.0.9 archive
0.0.8 Jul 20, 2013 Go to the documentation of ice_code_editor 0.0.8 Download ice_code_editor 0.0.8 archive
0.0.7 Jul 3, 2013 Go to the documentation of ice_code_editor 0.0.7 Download ice_code_editor 0.0.7 archive
0.0.6 Jul 2, 2013 Go to the documentation of ice_code_editor 0.0.6 Download ice_code_editor 0.0.6 archive
0.0.5 Jun 29, 2013 Go to the documentation of ice_code_editor 0.0.5 Download ice_code_editor 0.0.5 archive
0.0.4 Jun 29, 2013 Go to the documentation of ice_code_editor 0.0.4 Download ice_code_editor 0.0.4 archive

All 13 versions...

Analysis

This feature is new.
We welcome feedback.
More details: scoring.

We analyzed this package, and provided a score, details, and suggestions below.

  • tool failures on Jan 21, 2018
  • Dart: 2.0.0-dev.15.0
  • pana: 0.10.0

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
0 / 100
Health:
Code health derived from static analysis. [more]
98 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
0 / 100
Overall score:
Weighted score of the above. [more]
29

Platforms

Detected platforms: unsure

Error(s) prevent platform classification.

Suggestions

  • Fix dependencies in pubspec.yaml.

    Running pub upgrade failed with the following output:

    Exceeded timeout of 0:02:00.000000
    
  • Fix platform conflicts.

    Make sure none of the libraries use mutually exclusive dependendencies.

  • Maintain CHANGELOG.md.

    Changelog entries help clients to follow the progress in your code.

  • Fix issues reported by dartanalyzer.

    dartanalyzer reported 1 error(s) and 0 warning(s).

  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • Maintain an example.

    Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use ice_code_editor.dart.