GithubHelp home page GithubHelp logo

cre-web-demo's People

Contributors

kildom avatar

Watchers

 avatar  avatar

cre-web-demo's Issues

TODO

  • update to newest node modules
  • add source code (in compressed and encoded form) in the address bar. Compression experiments in a different branch. It should also contains file name.
  • add browser storage
  • add multiple files support (in tabs)
  • add sharing button that copies the address
  • show "View as HTML" check box if HTML is detected in the output.
  • add Open button with menu: sample files (title as label), tutorial files (section and stage as label), recently closed files (modification time as label), from URL. File will not be saved as "recently closed" if it is identical to sample or tutorial.
  • Download file button

Apply to web demo and VCS plugin:

  • use registerDocumentSemanticTokensProvider to do coloring of the CRE.
  • use codelens to automatically generate interfaces in TypeScript (only VSC). May be not 100% accurate because of interpolation - simple solution: allow user to handle interpolation, e.g. by allowing to add extends in the generated interface. Alternative: use model-markers below.
  • use completion-provider for autocomplete CRE
  • use configure-javascript-defaults to provide declarations for cre if possible (only in web demo)
  • use hover-provider to explain each token in the CRE. Hovering the cre should show the compiled expression if interpolation allows it.
  • use model-markers to show errors and warnings in the CRE. Second usage in typescript: use it to mark `/*# interface myGroupInterface */ if the interface is out of date allowing to regenerate if needed.

registerDocumentSemanticTokensProvider sample code with CRE

https://code.visualstudio.com/api/language-extensions/semantic-highlight-guide

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.