Skip to content

Commit

Permalink
Merge pull request #25 from jeonghanlee/master
Browse files Browse the repository at this point in the history
add .iocsh files and enable github action
  • Loading branch information
vnadot authored Jul 9, 2020
2 parents ad1a13b + 858e868 commit f76a17f
Show file tree
Hide file tree
Showing 17 changed files with 307 additions and 186 deletions.
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**

- OS:
- Kernel Version:

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
21 changes: 21 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Linter Run

on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
build:
name: Lint Code Base
runs-on: ubuntu-latest

steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Lint Code Base
uses: docker://github/super-linter:latest
env:
VALIDATE_MD: true
VALIDATE_JSON: true
83 changes: 46 additions & 37 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,53 +1,62 @@
# Change Log

## 0.0.10 - 2020-0-07

- add `.iocsh` file to startup

## 0.0.9 - 2020-02-06
- Added coloring for *.vdb files
- add NELM
- fix record.record
- improve and add wetest snippets to fit wetest version 1.2.0
- add inp and out field to bi/bo. Add alarm to bi/bo


- Added coloring for *.vdb files
- add NELM
- fix record.record
- improve and add wetest snippets to fit wetest version 1.2.0
- add inp and out field to bi/bo. Add alarm to bi/bo

## 0.0.8 - 2019-07-04
- fix startup macros
- add range and limit snippet for weTest
- add bi alarm field support
- debug dfanout OMSL field
- add EPICS types
- add SNL snippets

- fix startup macros
- add range and limit snippet for weTest
- add bi alarm field support
- debug dfanout OMSL field
- add EPICS types
- add SNL snippets

## 0.0.7 - 2019-04-08
- fix field colors bug

## 0.0.7 - 2019-04-08
- we-test
- add suite snippets
- start all snippets with "epics."
- change logo
- add field colors
- fix name ins sub snippet

- fix field colors bug
- we-test
- add suite snippets
- start all snippets with "epics."
- change logo
- add field colors
- fix name ins sub snippet

## 0.0.6 - 2019-03-27
- add some field colors (EGU, PREC ...)
- add snippets for substitutions files
- add stringin/out snippets
- add DTYP and SCAN field to ai record
- fix fanout (LNKA -> LNK1)

- add some field colors (EGU, PREC ...)
- add snippets for substitutions files
- add stringin/out snippets
- add DTYP and SCAN field to ai record
- fix fanout (LNKA -> LNK1)

## 0.0.5 - 2019-03-19
- add module icon
- fix image path in ```readme.md```
- add "epics." for every snippet
- add colors and snippets in database definition files (.dbd)
- add keyworks to SNL files
- add snippets for weTest (CEA tool for acceptance tests)


- add module icon
- fix image path in ```readme.md```
- add "epics." for every snippet
- add colors and snippets in database definition files (.dbd)
- add keyworks to SNL files
- add snippets for weTest (CEA tool for acceptance tests)

## 0.0.4 - 2019-03-06
- add HIGH field to bo
- add mbbi, mbbo, mbbidirect, mbbodirect records
- asub improvements (I/O reading/writing examples)
- SNL files (.st) are associated to .c files

- add HIGH field to bo
- add mbbi, mbbo, mbbidirect, mbbodirect records
- asub improvements (I/O reading/writing examples)
- SNL files (.st) are associated to .c files

## 0.0.3 - 2019-03-05

- add spaces to align records and sort them per type

## 0.0.2 - 2017-01-30
Expand Down
20 changes: 9 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,24 @@ This VS Code extension provides syntax highlighting for EPICS database, template
- [x] Syntax highlighting for:
- [x] database and template files (.db, .dbd and .template)
- [x] substitutions files (.substitutions, .sub, and .subs)
- [x] startup files (.cmd)
- [x] startup files (.cmd and .iocsh)
- [x] streamdevice prototype files (.proto)
- [x] SNL files (.st extensions are considered as .c extension and some keywords are highlighted)
- [x] SNL files (.st extensions are considered as .c extension and some keywords are highlighted)

![Syntax highlighting](https://raw.githubusercontent.com/NSenaud/vscode-epics/master/images/vscode_epics.gif)

- [ ] Snippets for:
- [x] database and template files (.db and .template)
- [x] substitutions files (.substitutions, .sub, and .subs)
- [x] startup files (.cmd)
- [x] C source code
- [x] startup files (.cmd and .iocsh)
- [x] C source code
- [ ] streamdevice prototype files (.proto)
- [x] SNL files (over charge of your .c extension)
- [x] we-test (scenario and suite)

| Tips: to see all the available snippets per file type, write "epics." and a list will show up (file has to have a known extension). |
| --- |


- [ ] Compilation facilities

- [ ] Linter for:
Expand All @@ -52,10 +51,9 @@ Every field types are not recognized yet, only the more commons.
Snippets are mainly coming from [language-epics](https://github.com/mmllski/language-epics) Atom plugin, [agaget](https://github.com/agaget) and [vnadot](https://github.com/vnadot).

## to do
- [issues](https://github.com/NSenaud/vscode-epics/issues)
- weTest:
- new scheme
- mbbi: add alarm?
- add CP or PP by default ?


- [issues](https://github.com/NSenaud/vscode-epics/issues)
- weTest:
- new scheme
- mbbi: add alarm?
- add CP or PP by default ?
5 changes: 1 addition & 4 deletions language-configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,18 @@
"comments": {
"lineComment": "#"
},
// symbols used as brackets
"brackets": [
["{", "}"],
["(", ")"]
],
// symbols that are auto closed when typing
"autoClosingPairs": [
["{", "}"],
["(", ")"],
["\"", "\""]
],
// symbols that that can be used to surround a selection
"surroundingPairs": [
["{", "}"],
["(", ")"],
["\"", "\""]
]
}
}
Loading

0 comments on commit f76a17f

Please sign in to comment.