Nick Guerrera
b0938f4978
Add import and using to syntax highlighting ( #403 )
...
Also fix bug with type parameters/arguments stopping coloring after
first parameter or argument.
2021-03-30 12:26:12 -07:00
Brian Terlson
3d5410354f
Implement import statements ( #397 )
2021-03-29 18:00:11 -07:00
David Wilson
5f8b5c3ca9
Merge pull request #388 from daviwil/service-metadata
2021-03-29 16:01:45 -07:00
David Wilson
dfd77d4898
Fix formatting issues
2021-03-29 15:56:04 -07:00
David Wilson
6960087190
Strip namespace in OpenAPI definitions when there are no conflicts
2021-03-29 15:56:04 -07:00
Nick Guerrera
0a344db306
Add configuration option for adl-server path ( #395 )
2021-03-29 13:51:26 -07:00
David Wilson
40e6004409
Generate ARM TrackedResource namespace inside of parent namespace
2021-03-26 17:06:38 -07:00
Brian Terlson
230c66b357
Fix referencing symbols found in parent ns of top blockless ns
2021-03-26 17:05:48 -07:00
Brian Terlson
a2a5a91a1f
fix immediate bug
2021-03-26 17:05:28 -07:00
Brian Terlson
6c2c434c31
add some ns test validations
2021-03-26 17:04:58 -07:00
David Wilson
eaabbcba45
Propagate namespace scope in binder
2021-03-26 14:24:58 -07:00
David Wilson
9cd6611872
Add `@produces` and `@consumes` for global produces/consumes types
2021-03-26 13:42:16 -07:00
David Wilson
fa5cde5972
Add `@serviceTitle` and `@serviceVersion` top-level service metadata
2021-03-26 13:42:16 -07:00
Brian Terlson
72afcd17ba
Add using statement ( #391 )
2021-03-26 12:40:14 -07:00
Nick Guerrera
00fe2f5c4e
Merge pull request #390 from nguerrera/tmlanguage-fixes
...
[tmlanguage-generator] Fix hard-coding of adl and wasm file resolution
2021-03-26 12:25:28 -07:00
Nick Guerrera
15906bfa8d
Prepare publish
2021-03-26 10:07:53 -07:00
Nick Guerrera
3f91bdda96
Fix hard-coding of adl and wasm file resolution
2021-03-26 10:06:18 -07:00
Brian Terlson
1fcc7dd630
Fix id lookup with blockless namespaces ( #389 )
2021-03-26 09:41:02 -07:00
David Wilson
0e35f55251
Merge pull request #386 from daviwil/min-max-decorators
2021-03-25 14:53:03 -07:00
David Wilson
cf8657b155
Add `@numeric` decorator for marking numeric intrinsic types
2021-03-25 14:49:55 -07:00
David Wilson
4efa892716
Change the Unix permissions of cmd launcher files
2021-03-25 14:38:38 -07:00
David Wilson
6cf505ac71
Add `@minValue` and `@maxValue` decorators for numeric types
2021-03-25 14:38:38 -07:00
David Wilson
05482edfa7
Merge pull request #384 from daviwil/recursive-models
...
Enable the use of recursive type references in model definitions
2021-03-25 09:21:04 -07:00
David Wilson
1ca2a4a549
Enable the use of recursive type references in model definitions
2021-03-25 09:16:12 -07:00
Brian Terlson
dc240c6c82
Namespace merging, dotted namespaces, blockless namespaces, tests ( #375 )
...
Also adds a noEmit compiler option.
2021-03-24 19:20:20 -07:00
Nick Guerrera
b6bbffb873
Include language-configuration.json in vsix ( #383 )
...
This was preventing commenting and indenting operations in VS Code from
working as expected when run from VSIX (as opposed to F5) since the file
was not actually put in the package.
2021-03-24 14:32:22 -07:00
Nick Guerrera
d431e83fbf
A bit more s/textmate/tmlanguage-generator/ ( #382 )
2021-03-24 14:31:01 -07:00
Nick Guerrera
672cb699fa
Extract textmate generator to helper library ( #380 )
2021-03-24 13:20:54 -07:00
David Wilson
7034d33f78
Merge pull request #374 from daviwil/add-read-only
2021-03-23 15:02:23 -07:00
Nick Guerrera
b1aa5f9479
Merge pull request #372 from nguerrera/adl-install
...
* Remove unnecessary runtime dependency from adl-vscode package
* (Minor, unrelated) Simplify rush watch to use one process
* (Minor, unrelated) Simplify rollup config to export single object instead of 1-item array
* Add `adl code` command to manage VS Code extension
* We download the adl-vscode package from npm and install from the VSIX inside it.
* To install VS Code Extension: `adl code install`
* To uninstall VS Code Extension: `adl code uninstall`
* Pass --insiders switch to use VS Code Insiders
* Add `rush dogfood` command to install your local build
* Installs @azure-tools/adl globally, putting your build of adl on path
* Installs VS Code extension if VS Code is installed.
2021-03-23 14:05:31 -07:00
David Wilson
c9185722f0
`visibility` decorator takes multiple values, emit `x-ms-mutability`
2021-03-23 14:03:46 -07:00
Nick Guerrera
b4be0340a9
Fix rollup warning filter typo
...
Co-authored-by: Timothee Guerin <timothee.guerin@outlook.com>
2021-03-23 10:05:42 -07:00
Nick Guerrera
76a95d7b84
Add dogfood command
2021-03-22 21:31:01 -07:00
Nick Guerrera
3286cd2e33
Bump versions
2021-03-22 21:28:18 -07:00
Nick Guerrera
0927bbd0c7
Add commands to install/uninstall VS Code extension
2021-03-22 21:18:19 -07:00
Nick Guerrera
01cd73067a
Slight CLI refactor to make it easier to add another command
2021-03-22 17:53:11 -07:00
Nick Guerrera
a1ab73d794
Remove unecessary array from rollup config
2021-03-22 17:53:11 -07:00
Nick Guerrera
479a13d5bb
Use single process for `rush watch` as in VS Code
2021-03-22 17:53:11 -07:00
Nick Guerrera
1e9e8255f1
Move vscode-languageclient to dev dependency
2021-03-22 17:53:11 -07:00
David Wilson
872993ffcc
Rename all date and time intrinsics to follow new JS naming pattern
2021-03-22 13:53:26 -07:00
David Wilson
dcb93e9ce9
Add `time` intrinsic type
2021-03-22 13:11:05 -07:00
Nick Guerrera
64ea60113f
Merge pull request #368 from nguerrera/package-vsix
...
Package VSIX into NPM package, prepare v0.4.0
2021-03-19 13:25:01 -07:00
Nick Guerrera
a1e8487115
add rush compile and rush pack commands
2021-03-18 08:51:36 -07:00
Nick Guerrera
fe6bc05b7d
Generate ThirdPartyNotices.txt
2021-03-18 08:51:36 -07:00
Nick Guerrera
e80311d9af
Move language server out of extension and bundle the rest
2021-03-18 08:51:36 -07:00
Nick Guerrera
794c8f3b06
Remove circular dependency + other minor rollup compat
2021-03-17 09:46:48 -07:00
Nick Guerrera
79595a1f58
Add LICENSE to adl-vscode
2021-03-17 09:46:48 -07:00
Nick Guerrera
a180a0ff44
Bump versions
2021-03-17 09:46:48 -07:00
Nick Guerrera
b62599318b
Merge pull request #362 from nguerrera/squigglies
...
Introduce language server and add live parse errors to VS Code
2021-03-12 12:53:40 -08:00
Nick Guerrera
e43a5495fc
Fix VSIX packaging and add PR validation
2021-03-11 16:37:56 -08:00