Skip to content

Commit a59ba77

Browse files
authored
Merge pull request #2 from u2berggeist/function_experiment
Function Highlighting + Various random improvements
2 parents 7cfff9f + fd09bd3 commit a59ba77

12 files changed

+1097
-50
lines changed

.vscode/launch.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
55
"version": "0.2.0",
66
"configurations": [
7-
87
{
9-
"name": "Lanuch Extension",
108
"type": "extensionHost",
119
"request": "launch",
10+
"name": "Lanuch Extension",
1211
"runtimeExecutable": "${execPath}",
1312
"args": [
14-
"--extensionDevelopmentPath=${workspaceFolder}"
13+
"--extensionDevelopmentPath=${workspaceFolder}",
14+
"${workspaceFolder}\\test_files\\ImpellerStateFile.ccl"
1515
]
1616
}
1717
]

.vscodeignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
vsc-extension-quickstart.md
1+
vsc-extension-quickstart.md
2+
test_files
3+
*.vsix

CHANGELOG.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,21 @@
11
# Change Log
2-
All notable changes to the "ANSYS CFX Command Lanugauge (CCL)" extension will be documented in this file.
2+
All notable changes to the "ANSYS CFX Command Language (CCL)" extension will be documented in this file.
33

44
Format here based on [Keep a Changelog](http://keepachangelog.com/).
55

6+
## 1.1.0
7+
### Added
8+
- Function highlighting is now fully enabled!
9+
- Expressions are scoped
10+
- Section headers and contents are now scoped
11+
- Program Constants are defined and scoped
12+
13+
### Changed
14+
- Continued typo fixing
15+
16+
### Removed
17+
- `=` is no longer a math operator. It is treated separately
18+
619
## 1.0.2
720
- `=` is now a math operator
821
- Officially on the MarketPlace now

CONTRIBUTE INFO.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
Here's a section of information for contributing to the extension. This is probably just going to be notes to myself.
22

3+
## TODO
4+
- [ ] Figure out the function.operator inside function.math issue
5+
- [ ] Set an Expressions theme to highlite alphanumerics (assumed to be user defined expressions)
6+
- [ ] Add numeric section (check to see if there are math operators, then highlite numbers)
7+
- [ ] Look up "citern" and add similar constants to a new selection. Probably keep with constants
8+
- [ ] Make Selections of the options be able to cross lines
9+
- [ ] Make expressions in Flow section be correct
10+
311

412
## Helpful Links
513
- VS Code Language Extension Documentation:

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
# ANSYS CFX Command Language (CCL):
2+
### Language support for ANSYS CFX state languages, CCL and CEL.
23

3-
This is a extension meant to help with syntax highlighting and code folding for script languages involving ANSYS CFX workflows. CFX is a Computational Fluid Dynamics (CFD) software package within the Computer Aided Engineering (CAE) package ANSYS. This extensions is specifically designed to be used with .ccl and .cst files which are the pre- and post-processing scripts within the program.
4-
4+
![Visual Studio Marketplace](https://vsmarketplacebadge.apphb.com/version/u2berggeist.cfxlanguage.svg
5+
)
56

67
## Features
78

89
- Syntax highlighting
9-
- Includes specific highlighting for CCL built-in functions and constants
10+
- Includes specific highlighting for CCL and CEL native functions and constants
1011
- Code folding
12+
- Supported file extensions: `.ccl` and `.cst`
13+
14+
![screenshot](images/ImpellerStateFile_Screencap.PNG)
15+
16+
## Please report bugs or feature requests on [GitHub](https://www.github.com/u2berggeist/ANSYS_CFX).
1117

12-
## Release Notes
18+
## Want to Contribute? Go [here](https://github.com/u2berggeist/ANSYS_CFX/blob/master/CONTRIBUTE%20INFO.md) to find some helpful resources!
1319

14-
### 1.0.2
15-
Minor Spelling, `=` now added as an math operator, now officially on the Extension Marketplace
1620

17-
### 1.0.1
18-
CHANGELOG added, minor spelling
1921

20-
### 1.0.0
21-
Initial release, basic syntax highlighting
2222

cfxlanguage-1.0.2.vsix

-20.7 KB
Binary file not shown.

cfxlanguage-1.1.0.vsix

126 KB
Binary file not shown.
46.3 KB
Loading
62 KB
Loading

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "cfxlanguage",
33
"displayName": "ANSYS CFX Command Language (CCL)",
44
"description": "Language Support for ANSYS CFX based scripts (CFX Command Language, CFX Expression Language, etc.). Applies for pre- and post-processing of CFX simulations.",
5-
"version": "1.0.2",
5+
"version": "1.1.0",
66
"publisher": "u2berggeist",
77
"engines": {
88
"vscode": "^0.19.0"

0 commit comments

Comments
 (0)