Skip to content

Commit 6c6e2de

Browse files
authored
Merge pull request #1 from ing-bank/clean-old-refs
Clean old references to original project.
2 parents 4814107 + b59578c commit 6c6e2de

File tree

3 files changed

+30
-214
lines changed

3 files changed

+30
-214
lines changed
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests.
1+
# This workflow will do a clean installation of node dependencies,
2+
# cache/restore them, build the source code and run tests.
23

34
name: Build and Test CI
45

56
on:
67
push:
7-
branches: [ "develop" ]
8+
branches: [ "main" ]
89
pull_request:
9-
branches: [ "develop" ]
10+
branches: [ "main" ]
1011

1112
jobs:
1213
build:

CHANGELOG.md

Lines changed: 9 additions & 207 deletions
Original file line numberDiff line numberDiff line change
@@ -1,215 +1,17 @@
11
# Change Log
22

3-
All notable changes to the "vscode-psl" extension will be documented in this
4-
file.
5-
6-
## v1.13.2
7-
8-
* Further enhancements in Language highlight.
9-
10-
## v1.13.1
11-
12-
* Fix bugs introduced in Language highlight enhancements.
13-
14-
## v1.13.0
15-
16-
* Language highlight enhancements.
17-
18-
## v1.12.1
19-
20-
* Fix of bug where `Buffer` was not decoded to a `string`.
21-
22-
## v1.12.0
23-
24-
* Update dependencies.
25-
* Implement support for the serialized data format.
26-
* Add snippet for `#PROPERTYDEF` directives.
27-
* Add default value for the date in the revision history snippet.
28-
29-
## v1.11.4
30-
31-
Dependency updates
32-
33-
## v1.11.3
34-
35-
* Code actions for batches and triggers
36-
37-
## v1.11.2
38-
39-
* Scope the setting `psl.trailingNewline` to resource
40-
41-
## v1.11.0
42-
43-
Allow sources to be split across multiple projects with a `profile-project.json`. Current functionality is *unstable* and is
44-
subject to change (versioned `0.0.1`).
45-
46-
```json
47-
{
48-
"version": "0.0.1",
49-
"parentProjects": [
50-
"profile-application",
51-
"profile-framework"
52-
],
53-
"pslSources": [
54-
"dataqwik/procedure/",
55-
"psl/"
56-
],
57-
"fileDefinitionSources": [
58-
"dataqwik/table/"
59-
]
60-
}
61-
```
62-
63-
This file can be used to configure sources, not only for the current project, but across multiple projects in a vscode workspace.
64-
All fields are optional. In the example above, `pslSources` and `fileDefinitionSources` are populated with their default
65-
values. The names in the `parentProjects` array refer to the names of the vscode workspace themselves. For more about
66-
workspace visit the [official documentation](https://code.visualstudio.com/docs/editor/multi-root-workspaces) for more information.
67-
68-
Other changes include:
69-
70-
* Data Items from PARFID's can now be resolved by Completion/Hover/Go-To
71-
* Data Item Completion now uses lowercase
72-
73-
## v1.10.1
74-
* Allow messages with length > 16^2 - 2 to be read from MTM
75-
76-
## v1.10.0
77-
* Take language features out of preview
78-
* Enable GT.M debugging in the status bar
79-
* Added default snippet for pslmain() (thanks [@mischareitsma](https://github.com/mischareitsma))
80-
* Code coverage visualization
81-
* Update documentation
82-
83-
## v1.9.0
84-
85-
Adds two new custom menu items "Run Test" and "Run Test (with Coverage)". The custom logic must be implemented in your Profile instance. Then it can be called by adding this configuration to your `settings.json`:
86-
```json
87-
"psl.customTasks": [
88-
{
89-
"command": "runCoverage",
90-
"mrpcID": "^ZMRPC121",
91-
"request": "PSLRUNTESTC"
92-
},
93-
{
94-
"command": "runTest",
95-
"mrpcID": "^ZMRPC121",
96-
"request": "PSLRUNTEST"
97-
}
98-
]
99-
```
100-
101-
The `command` names are fixed, but the `mrpcID` and `request` fields can match your implementation.
102-
103-
Other changes include:
104-
* Adds rule for "PropertyIsDuplicate" from psl-lint (thanks [@Thirurakshan](https://github.com/Thirurakshan))
105-
* Properly scope preview configuration to resource
106-
* Change batch section icon
107-
* Fix code quality to only lint when config file is present
108-
109-
## v1.8.1
110-
111-
* Do not change focus to output channel after writing
112-
113-
## v1.8.0
114-
115-
* Adds fields `serverType` and `encoding` to environments.json (thanks [@joelgomes85](https://github.com/joelgomes85) for opening the issue)
116-
117-
## v1.7.1
118-
119-
* public declarations that start with v are now only diagnosed at INFO level
120-
121-
## v1.7.0
122-
123-
* Adds rule for "TblColDocumentation" from psl-lint (thanks [@ManikandanKKA](https://github.com/ManikandanKKA))
124-
* Add a setting to check trailing newline after a "Get" or "Refresh".
125-
* Adds a command to render markdown documentation of a PSL document when a server is present.
126-
127-
## v1.6.0
128-
129-
* Adds rule "PropertyIsDummy" from psl-lint (thanks [@kewtree1408](https://github.com/kewtree1408))
130-
131-
## v1.5.1
132-
133-
* Fixed a bug in codeQuality that caused major workbench performance degredation.
134-
135-
## v1.5.0
136-
137-
* TwoEmptyLines psl-lint rule (thanks [@RajkumarVelusamy](https://github.com/RajkumarVelusamy))
138-
* MultiLineDeclare psl-lint rule (thanks [@Thirurakshan](https://github.com/Thirurakshan))
139-
* Automated deployments (thanks [@morganing](https://github.com/morganing))
140-
* Improved error messages when attempting to test compile an invalid file (thanks [@cjprieb](https://github.com/cjprieb))
141-
* Updated snippets (thanks [@cjprieb](https://github.com/cjprieb))
142-
* Improved PSL statement parsing
143-
144-
## v1.4.1
145-
146-
* Fixed a bug that would break do statement completion
147-
* Fixed syntax highlighting to no longer highlight fields with keyword identifiers (thanks [@cjprieb](https://github.com/cjprieb))
148-
* Made the OPEN section header syntax highlighting less strict to allow multiple spaces after the OPEN identifier (thanks [@cjprieb](https://github.com/cjprieb))
149-
150-
## v1.4.0
151-
152-
Added new rule `RuntimeStart` that checks if variables declared outside of a TP Fence are referenced from within.
153-
154-
## v1.2.0
155-
156-
Linting in PSL now uses a configuration file. By default the setting `"psl.lint"` is now `"config"`. Other options are `"all"` or `"none"`.
157-
158-
A file must be included in order to be checked. If it is then excluded, it will not be checked. Here is an example layout:
159-
160-
```json
161-
{
162-
"version": 1,
163-
"include": {
164-
"Z*": ["*"],
165-
"*.psl": ["*"],
166-
"*": ["TodoInfo"]
167-
},
168-
"exclude": {}
169-
}
170-
```
171-
172-
This will lint files starting with a Z and all .psl files. All rules will be applied to these files. All files will have the TodoInfo rule applied to them.
173-
174-
These are the current rules:
175-
- TodoInfo
176-
- MemberCamelCase
177-
- MemberLength
178-
- MemberStartsWithV
179-
- MethodDocumentation
180-
- MethodSeparator
181-
- MethodParametersOnNewLine
182-
- PropertyLiteralCase
183-
184-
Additionally, this version also introduces Completion Items with Suggestions as another preview feature for the PSL language.
185-
186-
## v1.1.1
187-
188-
Introduced toggle to enable preview features (`"psl.previewFeatures" : true`). Restart after configuring to enable.
189-
190-
Preview features include:
191-
- Hover and go-to definitions.
192-
- Actions for missing separator and documentation on methods.
193-
194-
## v1.1.0
195-
Implementation of the psl-lint code quality checker. Enable it by adding the setting `"psl.lint" : true` to your settings.json.
196-
197-
## v1.0.1
198-
Fix a small bug where the Configure Environments button does not update properly.
3+
All notable changes will be documented in this file.
1994

2005
## v1.0.0
201-
Promote to 1.0.0 stable. Introduces language support.
6+
Project split from original source [ing-bank/vscode-psl](https://github.com/ing-bank/vscode-psl.git)
7+
to new dedicated source [ing-bank/psl-parser](https://github.com/ing-bank/psl-parser.git).
8+
Deprecated all previous released versions.
9+
10+
## v0.0.3
11+
Minor changes.
20212

203-
- Tokenizer and parser
204-
- Data item support
205-
- Outlines for PSL entities
206-
- Record completion items
207-
- Fixes to environment configuration interface
13+
## v0.0.2
14+
Minor changes.
20815

20916
## v0.0.1
21017
Initial publication.
211-
212-
- Get/Refresh, Send, Run, Test Compile, and Compile and Link.
213-
- Multi-environment configurations
214-
- Terminal support
215-
- PSL and table item syntax coloring

README.md

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# psl-parser
22

3-
[![Build and Test CI](https://github.com/ing-bank/vscode-psl/actions/workflows/build_test_vscode.yml/badge.svg)](https://github.com/ing-bank/vscode-psl/actions/workflows/build_test_vscode.yml)
3+
[![Build and Test CI](https://github.com/ing-bank/psl-parser/actions/workflows/build_test.yml/badge.svg)](https://github.com/ing-bank/psl-parser/actions/workflows/build_test.yml)
44

5-
TypeScript implementation of a Profile Scripting Language Parser.
5+
Implementation of a Profile Scripting Language Parser in TypeScript.
66

77
## Usage
88

@@ -18,6 +18,19 @@ parsedPsl.methods.forEach(method => {
1818

1919
## Development
2020

21-
If you would like to join the development of this extension, you will need to install [node.js](https://nodejs.org/en/) (with npm) in order to install the dependencies.
21+
If you would like to join the development of this extension, you will need to
22+
install [node.js] (with npm) in order to install the dependencies.
2223

23-
Once you clone the project, from the command line in the root of this project, run `npm install`.
24+
Once you clone the project, from the command line in the root of this project,
25+
run `npm install`.
26+
27+
## History
28+
29+
This project was originally developed under [ing-bank/vscode-psl] repository,
30+
in order to preserve that history this project was cloned from
31+
[ing-bank/vscode-psl] and only code relevant to the psl-parser was retained.
32+
Please refer to the [split commit] for details.
33+
34+
[split commit]: <https://github.com/ing-bank/psl-parser/commit/4814107ce1840d92c2ab0de99e31887014453d4c>
35+
[ing-bank/vscode-psl]: <https://github.com/ing-bank/vscode-psl.git>
36+
[node.js]: <https://nodejs.org/en>

0 commit comments

Comments
 (0)