Giter VIP home page Giter VIP logo

smallworld-magik-vscode's People

Contributors

markerdave avatar systemap avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

smallworld-magik-vscode's Issues

Support for Smallworld 4.x?

Just a quick question. Is Smallworld 4.x supported, or can you think of any workaround to get the extension running with this older version?

Thank's a lot!

Magik editor adds keyword from other text inputs.

When you have a Magik file active in the editor and when you type in another text entry, the Magik editor may add keywords from the text in the text editor to the Magik file even though you are not typing in that window.

Steps to reproduce:

  1. Open a magik source code file. The source code should be controlled by Git in this example as we use the commit message text entry.
  2. Go to the source control tab and start to type text into the commit message. Add some magik keywords (perhaps without the underscore).
  3. As you are typing in the Git commit message box, you will see keywords being added from the commit message to the magik source code file (for example, if you type "and" in the commit message _and is injected into the magik source.

I am attaching a screen shot that shows this. I have a small magik file with a comment. As I type a commit message, keywords are added to the magik source code file from the git commit message text box.

bug_keyword

JSON setting add the default terminal to be cmd

From my VS Code the default PowerShell terminal recognizes the %SMALLWORLD_GIS% to be the module, it throws the error.

github

Our team suggestion:
add the one line code to setup the default terminal to be Command Prompt into setting.json of official documentation.

`
{

"terminal.integrated.defaultProfile.windows": "Command Prompt"
"Smallworld.gisPath": "//appserver/Smallworld/CST519/core/bin/x86/gis.exe",
"Smallworld.startup": [
"set JAVA_HOME=%SMALLWORLD_GIS%/jdk-11.0.1",
"set PROJECT_DIR=//appserver/SW_Upgrade_5",
"call %PROJECT_DIR%/set_my_environment.bat",
"set SW_DB_CONTEXT_DIR=%PROJECT_DIR%/db_context",
"if not exist %SW_DB_CONTEXT_DIR% mkdir %SW_DB_CONTEXT_DIR%"
],
"Smallworld.gisCommand": [
"-p C:/Smallworld/core -a %SMALLWORLD_GIS%/../cambridge_db/config/gis_aliases cambridge_db_open",
"-a C:/Smallworld/cambridge_db/config/gis_aliases cambridge_db_open"
],
"Smallworld.sessions": [
{
"session": "Project 1 Test code on SW 5.1.9 on jdk 11",
"gisPath": "C:/SW519/core",
"startup": [ "set JAVA_HOME=C:/jdk-11.0.1","set PROJECT_DIR="C:/tst/project_1"],
"command": "-a %PROJECT_DIR%/config/gis_aliases db_open"
},
{
"session": "Project 1 Development on SW 5.2.0 on jdk 12",
"gisPath": "C:/SW520/core",
"startup": ["set JAVA_HOME=C:/jdk-12.0.2","set PROJECT_DIR="C:/dev/project_1"],
"command": "-a %PROJECT_DIR%/config/gis_aliases db_open"
},
{
"session": "Project 1 Production on SW 5.1.8 on jre 8",
"gisPath": "C:/SW518/core",
"startup": ["set JAVA_HOME=C:/jre","set PROJECT_DIR="C:/prd/project_1"],
"command": "-a %PROJECT_DIR%/config/gis_aliases db_open"
}
],
"files.autoGuessEncoding": true,
"terminal.integrated.scrollback": 5000,

}`

Unable to open powershell

With version 1.2.0 when trying to start a new session, sometimes vsCode gives the error that it is unable to open powershell.
This happens when there is already any kind of terminal open in vsCode.
After Closing all terminals in vsCode it is possible again to start a smallworld session.

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.