de-jcup / eclipse-batch-editor Goto Github PK
View Code? Open in Web Editor NEWAn eclipse editor for windows batch files
Home Page: https://marketplace.eclipse.org/content/batch-editor
License: Apache License 2.0
An eclipse editor for windows batch files
Home Page: https://marketplace.eclipse.org/content/batch-editor
License: Apache License 2.0
add additional keywords for if operators - see https://ss64.com/nt/if.html
EQU("Equal"),
NEQ("Not equal"),
LSS("Less than"),
LEQ("Less than or equal"),
GTR("Greater than"),
GEQ("Greater than"),
and also EXIST
EXIST("File exists - e.g. IF EXISTS filename.txt ...")
Hi All;
When using regular expression in If condition, the syntax is as follow:
if [[ "StringValue" =~ regexp ]]
then
fi
Note that the regular experssion is not quoted and this is what we want.
example
if [[ "$MyValue" =~ ^-e.* ]]
then
echo "start with "-e"
fi
In the case the regular expression contains a bracket sign, the editor reports an error like in the code below
if [[ "${PAARMSS[$((idx+1))]}" =~ ^[[:space:]]{.$ ]]
then
echo Here
fi
the attached capture show the error in the editor.
Best regards;
Jean-marie
First of all, thanks for this great editor - finally I can edit windows batch files inside eclipse and don't need to use an external editor!
I have to work with labels and return codes from called programs a lot. For this, it would be great if there were a configuration items in Syntax Coloring for labels (including the ':'-character) and numbers.
I thought I just five it a try and create a corresponding feature request for your project :-)
Kind regards,
Michael
By the way, your SQL-Editor also works great!
With #17 number highlighting was introduced.
But unfortunately there is a bug when a equals is in front of the number (without spaces) - see next figure. The first number is not highlighted.
Deployment,
details see https://github.com/de-jcup/eclipse-batch-editor/projects/1
Variable definitions like
set [<variable>=[<string>]]
set [/p] <variable>=[<promptString>]
set /a <variable>=<expression>
shall appear inside outline as well.
see https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/set_1
Because of bintray sundown - see de-jcup/eclipse-asciidoctor-editor#333 for details - the plugin must be hosted somewhere else.
Will include
When a variable is referenced as !VarName! so that the variable is expanded at execution time for delayed evnvironment variable expansion, the !VarName! is not syntax colored as %VarName% is.
Thanks for a great addition to Eclipse for when I need to delve into the batch file realm.
Upgrade gradle version + gradle wrapper to 6.7.1
For security reasons sign jars - at least with self signed certificate.
The plugin does not seems to work with STM32CubeIDE.
Which type of logs can I provide so it could help you solve the issue ?
Thanks !
In Eclipse Oxygen2,when editing bat file with batch editor,Eclipse always become no response.when i input ech,it is OK.but when i continue type o,it become no response.however,if i input ech,then type blank space, type o,if i delete blank type now.it is OK.
Os:win10 professional x64
JAVA version:1.8_152
eclipse platform:eclipse c++ x64
Windows also can execute scripts with .cmd
extention
https://stackoverflow.com/questions/148968/windows-batch-files-bat-vs-cmd
Not to mention PowerShell https://en.wikipedia.org/wiki/PowerShell
Inside logs we find:
No repository found at https://dl.bintray.com/de-jcup/batcheditor.
This is because bintray is still listed there - must be replaced with github pages variant
Same probleme as described at de-jcup/eclipse-bash-editor#236
This plugin will be nearly the same as bash editor but for batch files under windows.
So the code will be much the same and should be adopted.
The default color in dark theme for echo output is a little bit too dark - it's not easy to read content.
When attempting installation, I get the following error:
Unable to read repository at https://dl.bintray.com/de-jcup/batcheditor/content.xml.
Unable to read repository at https://dl.bintray.com/de-jcup/batcheditor/content.xml.
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
When I visit the site, https://dl.bintray.com/de-cup/batcheditor, there is no content.xml file located there. Same for bash editor
Release on marketplace see https://github.com/de-jcup/eclipse-batch-editor/projects/1
One label not found inside script
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.