Giter VIP home page Giter VIP logo

ampersand-language-support's People

Contributors

ampersand-sentinel avatar dependabot[bot] avatar franslot avatar hanjoosten avatar lucsomers avatar lucsomers101 avatar md2perpe avatar rieksj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ampersand-language-support's Issues

Activating extension failed - cannot find module ....\out\src\extension

When I run the debugger (F5-key) to debug langauge support, VSCode overwrites the language support for Ampersand that it normally uses with what we have in this repository, allowing me to debug stuff that is in the repo before it is deployed. Then, it tries to activate the 'new' extension.

When doing so, I get the following error:
image

@hanjoosten: can you fix this?

Railroad tracks do not reflect effects of pull-request

@hanjoosten: some time ago I released yet another version of the langauge support. The result was that it nicely updated in VSCode, but if you look at the railroad tracks between the master and development branches, they do not show that this has been done. You noticed this already in earlier releases. This issue is to let you know this hasn't been resolved yet.

MAINTAINS statement can refer multiple rules

The MAINTAINS statement may refer to more than one rule, that is to be maintained by (also more than one) ROLEs. Currently, if more than one RULE is specified, the colour still turns red:

image

add a different way to open the prototype in the vs code extension

Challenge: When you miss the popup window you need to manually go to the correct adress.

Solution: The idea for this is to add a new way to open your portforwarded port adress from vscode. A few ideas currently are:

  • An option in the menus
  • An button
  • Letting the popup stay open for longer
  • Leave the popup open
  • Opening the browser with the correct adress when command is run

Propbutton snippet missing commas

Ik ben een beetje aan het prutsen met die propbutton en ik kwam een foutje tegen
Maar als je een propbutton aanmaakt, vult hij automatisch aan

                   BOX<PROPBUTTON>
                   [ property: propertyrelation cRUd
                     disabled: expression cRud
                     hide: expression cRud
                   ]

Waarna de compiler een fout geeft omdat de komma’s missen.

Synchronization of ampersand versions used by VSCode and docker files.

According to the documentation of BOX <TABLE, I should be able to write BOX <TABLE hideNoRecords> in an INTERFACE, e.g.

INTERFACE "Login" FOR Anonymous: sessionIsAnon cRud BOX <RAW>
   [ "Login bar": I-sessionAccRegForm;sessionAccRegForm~ cRud BOX <TABLE hideNoRecords>
      [ "Userid": loginUserid cRUd
      , "Password": loginPassword cRUd -- crUd is needed for Passwords
      , "IdP": loginIdP cRUd
      , "Login": I cRud BOX <PROPBUTTON> 
         [ "property": sessionLoginReq cRUd
         , "disabled": I - (loginUserid;loginUserid~ /\ loginPassword;loginPassword~) cRud
         ]
  ]

However, this produces an error:
image

Upgrade to Ampersand 4.0

We expect the release of Ampersand 4.0 in the near future. This totally breaks the command line interface. The VScode plugin should be modified in a way that it looks for the version of Ampersand, then gives the right command to start the daemon. The command has changed from ampersand --daemon to ampersand daemon. Not a big deal, but I have to find out how this should be done (my Typescript is even lousier than my Haskell knowledge)

snippet for RULE statement is missing

For a lot of statements, there is syntactic help. I would expect that if I start typing the keyword RULE, I would get a template for that statement as well. It is missing.

Known issues with syntax coloring

Worklist for fixing in the syntax coloring stuff:

  • fileids in INCLUDE statements should be colored as they are in comments.
  • last ] in a POPULATION statement is not colored correctly
  • HTML TEMPLATEs are not recognized (and consequently they are colored as illegal text)

Cannot activate the extension.

I am trying to be able to publish this extention in the VS Code repo, so users can have a great experience to obtain it in a proper way.

I have followed the instructions from the documentation, but then when I press F5 to test it, I get an error message Activating extension 'ampersandtarski.language-ampersand' failed:

image

I tried all kinds of things, but until now without luck.

Any help is very much appreciated!

population snippet has too much " "

Als je de snippet

POPULATION "Relname" CONTAINS [ ("", "") ]

gebruikt, geeft de compiler een fout omdat om Relname geen "" hoeven te staan.

POPULATION Relname CONTAINS [ ("", "")]

Cannot run Ampersand compiler using Ctrl-Shift-B in version 0.2.9

My vscode has been updated to run Ampersand (ADL) language support 0.2.9.
I have complied with the requirement that the ampersand.exe is in the path: I have opened a command terminal, typed ampersand --version, and got the reply

14:18:41 C:\Ampersand\Git\ssif\_CZ> ampersand --version
SET AMPvsnr=Ampersand-v3.11.1 [development:e7be402f9], build time: 05-Aug-18 18:52:56 W. Europe Daylight Time

When I press Ctrl-Shift-B, and attempt to run the ampersand task, the output window contains

Error: The npm task detection didn't contribute a task for the following configuration:
{
    "type": "npm",
    "script": "compile",
    "path": "ampersandtarski.language-ampersand-0.2.8/",
    "problemMatcher": []
}
The task will be ignored.
Error: The npm task detection didn't contribute a task for the following configuration:
{
    "type": "npm",
    "script": "compile",
    "path": "ampersandtarski.language-ampersand-0.2.8/",
    "problemMatcher": []
}
The task will be ignored.

Note that in the path, it talks about version 0.2.8.
Perhaps the task should explicitly be identified as one of the contributions of the language extension?
And perhaps the path should refer to version 0.2.9?

Bundle de package voordat we hem installeren (dit komt van een warning)

Warning die gegeven word bij het bouwen is deze:

This extension consists of 2558 files, out of which 1371 are JavaScript files. For performance reasons, you should bundle your extension: https://aka.ms/vscode-bundle-extension . You should also exclude unnecessary files by adding them to your .vscodeignore: https://aka.ms/vscode-vscodeignore

Image

Syntax checking by Ampersand itself

@Michiel-s coined the idea of having a switch in Ampersand that would allow a single file to be tested just for syntax errors, and make the resulting errors (if any) importable by VSCode. This would enable VSCode to test the syntax of texts that you edit dynamically, similar to what it does to standard languages/grammars.

Of course, this would also need to be included in the Ampersand language support...

Refactor current terminalUtils

Refactor current terminal utils to use Then consistently and also create a class for input instead of variable parameters

META statement is not supported

The META statement allows flexible definition of key-value pairs. (mostly for use with documentation generation).

META String String

image

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.