Code Monkey home page Code Monkey logo

aldor-idea-plugin's People

Contributors

pbroadbery avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

luseengithub

aldor-idea-plugin's Issues

Adding a screenshot to README.md file

An easy way would be to open an issue, say 'Screenshot', cut & paste a .png screenshot in the description filler, use the code in the issue filler to add it to the README.md file and close the issue. For GUI things it's always informative I think.

Rep & Per functionality

rep/per

  • show documentation; some free text, then the type
  • Use 'Goto Related' [ctrl-alt-home] to jump to representation
    See RelatedItemLineMarkerProvider.

Clean up statement grammar

Grammar is a bit of a mess - parse tree should come out nicely.

Constraints

  • must accept same language as aldor and spad.
  • tree amenable to analysis, Macro expansion and formatting.

Ctrl-Q for operations

Want the following to work:

ctrl-alt-shift-n shows list of symbols declared in domains

  • [Fn] determinant (in MatrixCategory X) ... matrix.spad

ctrl-q shows documentation

  • determinant: % -> R (in SquareMatrix X)
    determinant(m) returns the determinant of the matrix m. Error: if the matrix is not square.
    -- hyperlink (if possible) to fricas.github.io

Up/Down should move between matches (this works out of the box)

Add SDKs

Should be able to add external libraries to a module

External library should have link to source & can index that.. or export able file containing symbols.

First phase is an SDK for each of the following modes:

  • Spad files
  • Aldor standalone library
  • Fricas development
  • Aldor development

Add project templates

  • Empty Spad/Aldor (Done)
  • -Simple Aldor- (Done)
  • Github Spad
  • GitHub Aldor
  • Aldor Library for Fricas
    (add note in v1 re no doc links).
  • aldor lib with tests and runnable.. (nb no doc links again)

Macro behaviour (Non-Parameterised)

Macros should be highlighted.. doc could show expansion.. analysis should look through.

  • The "Exports == Implementation" idiom needs a bit of thought.

Aldor test support

Currently we have 3 types of aldor level tests:

  1. ALDORTEST sections in library files (fairly thorough, not many)
  2. Test suite files (lots of these, but limited value - old bugs, not validating, very dependent on compile)
  3. aldor/test directory.

Find symbol should work

  • Won't be difficult, index is in place, might want to try to add some location decoration around

Assignment rename

.. sort of works (via .abn file) in aldor, ought to work ok in spad

Colour scheme

Need per theme scheme

additionalTextAttributes scheme="Default" file="colorSchemes/GLSLDefault.xml"
colorSettingsPage implementation="glslplugin.GLSLColorAndFontsPage"

A light version and a dark will be enough.

Create New File could be better

The "Create Aldor File" is way too simplistic.

Extras:

  • Should show the destination directory for the file
  • Should populate with some kind of template
  • Should amend Makefile.in (if present) so that new file is in build (checkbox-optional).

Definition/Declaration links

  1. RelatedElement thing to go from defn to declaration and back (if ambiguous, show all)
  2. Dig out related documentation, and link which jumps to defn.

Mark deliberately broken tests as "not for travis"

A bunch of tests - mostly around parsing - don't work correctly at the moment.
Rather than marking them as @ Ignore, I prefer to have them run locally and fail.
Under travis, I'm happy if they don't run as that is more for spotting regressions.

Indent bug fixes

Looks like

 I ==> with
      ...
 E ==> ....

Is parsed incorrectly - probably a missing EOL marker somewhere.

Doc strings formatting

Can of worms here...
Version 1 will do the doc strings with minimal preprocessing.

Ideally,

  • links should work
  • maths should be pre processed
  • domains should be substituted if appropriate.

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.