Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
226 commits
Select commit Hold shift + click to select a range
9643087
Updating the version for the debugger release.
Dec 16, 2016
8f1ec21
Remove C# grammar test suite and npm dependencies.
ivanz Dec 17, 2016
dddb22e
Added "npm run update-grammar" which updates the "csharp-textmate-gra…
ivanz Dec 17, 2016
113017e
Pull in v0.2.0 of the C# grammar which includes a number of fixes and…
ivanz Dec 17, 2016
d04465d
added auto-closing and surrounding pairs configuration
filipw Dec 20, 2016
fb12949
Merge pull request #1072 from OmniSharp/release
DustinCampbell Dec 21, 2016
5e4d30e
Merge remote-tracking branch 'upstream/master'
Dec 22, 2016
ca07d90
Merge pull request #1079 from OmniSharp/release
DustinCampbell Dec 22, 2016
6e6e7c6
Update package.json
Thaina Dec 23, 2016
3363d73
Merge pull request #1090 from OmniSharp/release
DustinCampbell Dec 25, 2016
cae9cfe
Start new C# grammar with comments, type names, and using directives
DustinCampbell Dec 26, 2016
6c65c7e
Add extern aliases
DustinCampbell Dec 26, 2016
df59ed0
Add basic attribute support
DustinCampbell Dec 26, 2016
3f5b10b
String literals
DustinCampbell Dec 26, 2016
1887e71
Add attribute named arguments
DustinCampbell Dec 26, 2016
c5831f6
Add namespace declarations
DustinCampbell Dec 26, 2016
8a242d4
Refine using directives a bit
DustinCampbell Dec 26, 2016
839b76d
Add class declarations
DustinCampbell Dec 27, 2016
6b258ee
Add interface declarations
DustinCampbell Dec 27, 2016
30bcf56
Refactor test infrastructure a bit and improve test performance by 2X
DustinCampbell Dec 27, 2016
6a23de3
Split type-declaration into class-declaration and interface-declaration
DustinCampbell Dec 27, 2016
973adf2
Add struct declarations
DustinCampbell Dec 27, 2016
cbc65f9
Add enum declarations
DustinCampbell Dec 27, 2016
2af4bf2
Add delegate declarations
DustinCampbell Dec 27, 2016
d0ecb1a
Add field declarations
DustinCampbell Dec 27, 2016
c9e65f5
Add property declarations
DustinCampbell Dec 27, 2016
7a4d60b
Allow muliple declarators in field declarations
DustinCampbell Dec 27, 2016
b18805c
Add event declarations
DustinCampbell Dec 27, 2016
28008bc
Refine field declarations
DustinCampbell Dec 27, 2016
47e7a22
Refine property declarations
DustinCampbell Dec 27, 2016
e6c0532
Add indexer declarations
DustinCampbell Dec 27, 2016
e406840
Add interpolated strings
DustinCampbell Dec 28, 2016
b5c61eb
Refactor tests a bit
DustinCampbell Dec 28, 2016
2c2a8cb
A bit more refactoring of tests
DustinCampbell Dec 28, 2016
fc096de
Add a few more numeric literal tests
DustinCampbell Dec 28, 2016
81ba982
Refine interpolated strings and escaped braces
DustinCampbell Dec 28, 2016
7a2b7fc
Update TODO list for declarations
DustinCampbell Dec 28, 2016
f6e7212
Refine type name regular expressions a bit more
DustinCampbell Dec 28, 2016
ed44f41
Add method declarations
DustinCampbell Dec 28, 2016
04f8754
Add return statement and a handful of operators
DustinCampbell Dec 28, 2016
02bb1e9
Add a way to tokenize specific bits of code in tests
DustinCampbell Dec 28, 2016
541464f
Update a couple tests
DustinCampbell Dec 28, 2016
98a1240
Stop testing token line/column
DustinCampbell Dec 28, 2016
57bf1bf
Test only the parts that matter
DustinCampbell Dec 28, 2016
20aa1f5
Rename csharp2.json to csharp-new.json
DustinCampbell Dec 28, 2016
9f90808
Further test clean up
DustinCampbell Dec 28, 2016
5588e5b
Add while and do..while loops
DustinCampbell Dec 28, 2016
ffe5396
Rename file
DustinCampbell Dec 28, 2016
6710e7e
Shorten names for a few oft-used tokens
DustinCampbell Dec 28, 2016
90bd717
Add tuple types
DustinCampbell Dec 31, 2016
30dd20c
Add support for alias-qualified names
DustinCampbell Jan 3, 2017
c293861
Add support for constructors
DustinCampbell Jan 3, 2017
3ebbb0c
Add support for destructors
DustinCampbell Jan 3, 2017
2c9ee01
Add support for operator declarations
DustinCampbell Jan 3, 2017
b782dce
Add support for conversion operators
DustinCampbell Jan 3, 2017
b81b894
Add support for verbatim string literals
DustinCampbell Jan 3, 2017
9105b28
Add support for explicitly-implemented interface methods
DustinCampbell Jan 4, 2017
673044d
Add support for explicitly-implemented interface indexers
DustinCampbell Jan 4, 2017
8814cf6
Add support for explicitly-implemented interface properties and events
DustinCampbell Jan 4, 2017
1ad05ee
Add support for interface members
DustinCampbell Jan 4, 2017
1b1c450
Move to YAML to make it easier to define grammar
DustinCampbell Jan 5, 2017
757b65b
Share match for 'base types'
DustinCampbell Jan 6, 2017
da284d3
Rename build.ts -> buildSyntax.ts and update npm commands
DustinCampbell Jan 6, 2017
dc293b5
Add support for constructor initializers
DustinCampbell Jan 6, 2017
ca07e82
Add support for labeled statements
DustinCampbell Jan 6, 2017
9fbf444
Add support for local variable declarations
DustinCampbell Jan 6, 2017
db74360
Add support for local constant declarations
DustinCampbell Jan 6, 2017
1999df6
Add support for if/else statements
DustinCampbell Jan 6, 2017
f6818cf
Add switch and goto statements
DustinCampbell Jan 6, 2017
8a1c309
Factor our return statements
DustinCampbell Jan 6, 2017
e1ff4d6
Factor out do and while statements
DustinCampbell Jan 6, 2017
20a0c8d
Add support for for statements
DustinCampbell Jan 6, 2017
58d7636
Add foreach statements
DustinCampbell Jan 6, 2017
586fd96
Add support for try statements with finally and catch clauses
DustinCampbell Jan 6, 2017
61c7d88
Remove syntaxes/csharp.tmLanguage since we build it
DustinCampbell Jan 6, 2017
d6cf67b
Add support for checked/unchecked statements and expressions
DustinCampbell Jan 6, 2017
ef31f10
Add support for lock statements
DustinCampbell Jan 6, 2017
4c489c3
Add support for using statements
DustinCampbell Jan 6, 2017
6ec599a
Add support for break, continue, throw and yield statements
DustinCampbell Jan 6, 2017
99b8dca
Factor out if and else statements
DustinCampbell Jan 6, 2017
6d8b187
Move TODO list into YAML file
DustinCampbell Jan 7, 2017
6408bca
Add support for invocation expressions
DustinCampbell Jan 7, 2017
df9ced1
Add support for element access expressions
DustinCampbell Jan 7, 2017
5573dc5
Add support for cast expressions
DustinCampbell Jan 7, 2017
2534ff3
Fix typo
DustinCampbell Jan 7, 2017
60271d1
Add regression test for issue #802
DustinCampbell Jan 7, 2017
7be2f67
Add regression tests for issue #816
DustinCampbell Jan 7, 2017
74ee310
Add regression test for issue #830
DustinCampbell Jan 7, 2017
487eb62
Fix #829 and add regression test
DustinCampbell Jan 7, 2017
d161564
Fix #861 and add regression test
DustinCampbell Jan 7, 2017
1ab9c08
Fix #1078 and add regression tests
DustinCampbell Jan 7, 2017
813b83e
Fix #1084 and add regression test
DustinCampbell Jan 7, 2017
b09b97e
Add regression test for #1084
DustinCampbell Jan 7, 2017
1b53e8d
Add regression test for issue #1097
DustinCampbell Jan 7, 2017
c49b733
Add regression test for issue #1108
DustinCampbell Jan 7, 2017
8eee866
Allow comments in more places
DustinCampbell Jan 7, 2017
75c7168
Add array creation expressions
DustinCampbell Jan 7, 2017
544d983
Add override and virtual modifiers
DustinCampbell Jan 7, 2017
c1c575d
Fix cast expressions
DustinCampbell Jan 7, 2017
e20b131
Add support for initializers and several more fixes
DustinCampbell Jan 7, 2017
553efe4
Add regression test for issue #1096
DustinCampbell Jan 7, 2017
4b17d8f
Revamp invocation, element access and member access expressions and a…
DustinCampbell Jan 7, 2017
212e5b7
Add support for preprocessor
DustinCampbell Jan 7, 2017
ff5455a
Add regression test for issue #731
DustinCampbell Jan 7, 2017
b4f1ab2
Add regression test for issue #225
DustinCampbell Jan 7, 2017
43cfbe9
Improve display of type declaration names with type parameters and al…
DustinCampbell Jan 7, 2017
6255ad9
Display built-in types as keywords
DustinCampbell Jan 7, 2017
80745b9
Big revamp of type name matching and support added for nullable type …
DustinCampbell Jan 8, 2017
3dca527
Add support for var in local variable declarations and foreach statem…
DustinCampbell Jan 9, 2017
b4e05bf
Add support for query expressions
DustinCampbell Jan 9, 2017
05d6836
Merge remote-tracking branch 'upstream/master'
Jan 9, 2017
7475dd2
Add regression test for issue #1106 and fix enough to make it pass
DustinCampbell Jan 9, 2017
931498c
Rajkumar42/telemetry/installer (#1113)
rajkumar42 Jan 9, 2017
b337d17
Fix array suffixes for jagged arrays and multi-dimensional arrays wit…
DustinCampbell Jan 9, 2017
f4e7989
Fix several bugs
DustinCampbell Jan 9, 2017
2f93a87
Ensure preprocessor works in enum member lists
DustinCampbell Jan 9, 2017
3435be2
Refine queries a bit so that clauses are only matched inside a query
DustinCampbell Jan 9, 2017
5728dfe
Add unsafe storage modifier
DustinCampbell Jan 9, 2017
1a06b43
Add tests for lambda expression support
DustinCampbell Jan 9, 2017
c0ca262
Allow constructor initializers to have line break between : and this/…
DustinCampbell Jan 9, 2017
0496580
Add support for default expressions
DustinCampbell Jan 9, 2017
5861d0d
Consolidate statement tests
DustinCampbell Jan 9, 2017
616d6c7
Consolidate expression and literal tests
DustinCampbell Jan 9, 2017
e01afdb
Clean up several token types
DustinCampbell Jan 9, 2017
ae019da
Add support for anonymous methods
DustinCampbell Jan 10, 2017
78dae22
Add support for null coalescing operator
DustinCampbell Jan 10, 2017
a125c41
Add support for conditional operator
DustinCampbell Jan 10, 2017
9fdc7c9
Allow attributes on property and event accessors
DustinCampbell Jan 10, 2017
446395f
Choose different keyword name for 'operator' since 'keyword.other.ope…
DustinCampbell Jan 10, 2017
ac01c0a
Add support for XML doc comments by leveraging 'text.xml'
DustinCampbell Jan 10, 2017
39db070
Add regression test for issue #316
DustinCampbell Jan 10, 2017
e467be7
Handle XML doc comments rather than delegating to text.xml (so we can…
DustinCampbell Jan 10, 2017
6cda9f5
Add regression tests for issue #1091
DustinCampbell Jan 10, 2017
75a1c99
Switch to new grammar
DustinCampbell Jan 10, 2017
166995a
Add top-level methods and statements and fix issue with implicit lamb…
DustinCampbell Jan 10, 2017
3e3148b
Tweak tuple type rule slightly
DustinCampbell Jan 10, 2017
2024390
Add support for compound operators and 'this' keyword on extension me…
DustinCampbell Jan 10, 2017
057a854
Add support for nameof expressions
DustinCampbell Jan 10, 2017
8ebfdf8
Add support for null-conditional operator
DustinCampbell Jan 10, 2017
e214cdf
Tweak to anonymous object creation expressions
DustinCampbell Jan 10, 2017
2f3f41e
Add regression test for issue #268
DustinCampbell Jan 10, 2017
0b2b402
Add support for await expressions
DustinCampbell Jan 10, 2017
161ddf2
Tweak query expressions slightly
DustinCampbell Jan 10, 2017
28ff2cf
Add support for is and as casts
DustinCampbell Jan 10, 2017
3873cc6
Delete old grammar
DustinCampbell Jan 10, 2017
93b3b54
Remove third-party notice for old grammar
DustinCampbell Jan 10, 2017
8e868b6
Clean up syntax.md
DustinCampbell Jan 11, 2017
b0d0041
Add plist output to source control
DustinCampbell Jan 11, 2017
eed1bbe
Revert unintended changes in package.json
DustinCampbell Jan 11, 2017
47fb5c5
Remove 'meta.type.parameters.cs' name which causes tuple element name…
DustinCampbell Jan 11, 2017
4d90180
Merge pull request #1115 from DustinCampbell/new-syntax
DustinCampbell Jan 12, 2017
f62e38e
Update README.md to mention Python (#1121)
gregg-miskelly Jan 13, 2017
064fd71
Simplifying remoteProcessPicker (#1123)
WardenGnaw Jan 18, 2017
84b3a3b
Linesplit and ohmyzshfix (#1132)
WardenGnaw Jan 18, 2017
7224ed4
Removing unused imports in ProcessPicker.ts (#1137)
WardenGnaw Jan 20, 2017
23326b8
Update the debugger to 1-7-0 (#1136)
gregg-miskelly Jan 21, 2017
da8cee2
Update typing for VSCode tasks
DustinCampbell Jan 24, 2017
a5e4602
Be tolerant of tasks.json files with no 'tasks' node or with an os-sp…
DustinCampbell Jan 24, 2017
52ed442
map namespace to CompletionItemKind.Module
filipw Jan 24, 2017
e8bff37
Merge pull request #1144 from filipw/bugfix/1124
DustinCampbell Jan 24, 2017
f0ee015
Map more completion items to kinds
DustinCampbell Jan 24, 2017
15bfc71
Merge with master and remove additional syntax code
DustinCampbell Jan 24, 2017
634261f
Merge pull request #1145 from DustinCampbell/fix-completion-display
DustinCampbell Jan 24, 2017
7b364d5
Don't search for 'build' tasks if there was a parse error
DustinCampbell Jan 24, 2017
e5a2554
Fix Travis script
DustinCampbell Jan 24, 2017
36e7524
Merge pull request #1143 from DustinCampbell/assets-for-specific-os
DustinCampbell Jan 24, 2017
0e5a287
Merge pull request #1146 from DustinCampbell/shared-grammar-effort
DustinCampbell Jan 24, 2017
a496cb2
Freshen up Debugger.md (#1148)
gregg-miskelly Jan 25, 2017
120212f
Use environment variables to test bitness of Windows
DustinCampbell Jan 25, 2017
070914b
Merge pull request #1149 from DustinCampbell/fix-windows-arch-detection
DustinCampbell Jan 25, 2017
acef04b
Update package.json
Thaina Jan 27, 2017
7ed2e00
Update package.json
Thaina Jan 27, 2017
2403096
Merge pull request #1082 from Thaina/patch-1
DustinCampbell Jan 27, 2017
c006ba5
Don't add unnecessary noise to the OmniSharp log
DustinCampbell Jan 27, 2017
6d3dbb7
Merge remote-tracking branch 'upstream/master'
Jan 27, 2017
19d04e9
Update to latest C# TextMate grammar
DustinCampbell Jan 30, 2017
eeabef3
Merge pull request #1158 from DustinCampbell/update-grammar
DustinCampbell Jan 30, 2017
bae80cd
Merge pull request #1155 from DustinCampbell/clean-up-omnisharp-log
DustinCampbell Jan 30, 2017
427da0c
Added support for Zorin OS 12, an Ubuntu-based linux distribution (#1…
mkaziz Jan 31, 2017
263f61a
Asset generator should not offer to update tasks.json if there are bu…
DustinCampbell Jan 31, 2017
e383a2a
Merge pull request #1163 from DustinCampbell/fix-assets
DustinCampbell Jan 31, 2017
862d3e2
v1.7.0-beta1 -> v1.7.0-beta2
DustinCampbell Jan 31, 2017
7d38293
Update Mono and OmniSharp depedencies
DustinCampbell Jan 31, 2017
e010274
Updates to CHANGELOG.md for 1.7.0 so far
DustinCampbell Jan 31, 2017
abe5430
Merge pull request #1165 from DustinCampbell/next-update
DustinCampbell Jan 31, 2017
c063a3a
pass loglevel to omnisharp
filipw Feb 1, 2017
e714369
changed default values for logginglevel
filipw Feb 1, 2017
0ec1b46
do not break folks using the old "verbose" level
filipw Feb 1, 2017
890360b
Rajkumar42/wsl/pipefix (#1170)
rajkumar42 Feb 1, 2017
c9a970c
.NET: Restore Packages command should work with .NET Core .csproj pro…
DustinCampbell Feb 3, 2017
214c6cd
Also also Restore Command to work for netstandard
DustinCampbell Feb 3, 2017
4ba9941
Merge pull request #1176 from DustinCampbell/fix-dotnet-restore-command
DustinCampbell Feb 3, 2017
e6eaccd
Update OmniSharp to v1.9-beta24
DustinCampbell Feb 3, 2017
187a5a2
Merge pull request #1177 from DustinCampbell/update-omnisharp
DustinCampbell Feb 3, 2017
0a9f0d9
Merge pull request #1169 from filipw/feature/993
DustinCampbell Feb 3, 2017
d5ca4d6
v1.7.0-beta2 -> v1.7.0-beta3
DustinCampbell Feb 3, 2017
f6c68b9
Update changelog
DustinCampbell Feb 3, 2017
958ef0e
Merge pull request #1178 from DustinCampbell/1.7-beta3
DustinCampbell Feb 3, 2017
a8c42f2
Merge remote-tracking branch 'upstream/master'
rajkumar42 Feb 3, 2017
d677a71
Adding WSL support to changelog
rajkumar42 Feb 3, 2017
4e1a2ac
Fix 'dotnet restore' when the extension tries to run it for a specifi…
DustinCampbell Feb 3, 2017
3487872
Merge pull request #1060 from filipw/feature/autoclosing
DustinCampbell Feb 4, 2017
25a394a
Take latest C# TextMate grammar, fixing a few bugs
DustinCampbell Feb 5, 2017
4e2bce0
Merge pull request #1183 from DustinCampbell/update-grammar
DustinCampbell Feb 5, 2017
1d70009
Merge pull request #1181 from DustinCampbell/fix-dotnet-restore
DustinCampbell Feb 5, 2017
1e262ce
Update build task to launch "npm run compile"
DustinCampbell Feb 6, 2017
37d44a6
Fix silly bug in dotnet restore
DustinCampbell Feb 6, 2017
d709fc3
Merge pull request #1187 from DustinCampbell/fix-silly-bug
DustinCampbell Feb 6, 2017
4848939
Update 'test' task to print message describing how to run tests and d…
DustinCampbell Feb 6, 2017
9c10778
Merge pull request #1186 from DustinCampbell/update-build-task
DustinCampbell Feb 6, 2017
a881a97
Don't show message about projects having trouble loading when there a…
DustinCampbell Feb 6, 2017
ab543e9
Merge pull request #1189 from DustinCampbell/dont-complain-about-warn…
DustinCampbell Feb 6, 2017
b579ee4
v1.7.0-beta3 -> v1.7.0-beta4
DustinCampbell Feb 6, 2017
30dc04d
Update to latest OmniSharp
DustinCampbell Feb 6, 2017
2d3c1e8
Update changelog
DustinCampbell Feb 6, 2017
17cc67f
Incorporating code review comments
rajkumar42 Feb 6, 2017
7c36c41
Fix changelog typo
DustinCampbell Feb 6, 2017
b6005a9
Merge pull request #1190 from DustinCampbell/update
DustinCampbell Feb 6, 2017
88a47a3
Merge branch 'master' into rajkumar42/wsl/changelog
DustinCampbell Feb 6, 2017
1d4a0bd
Merge pull request #1180 from rajkumar42/rajkumar42/wsl/changelog
DustinCampbell Feb 6, 2017
819a271
Fix dotnet restore for project.json
DustinCampbell Feb 7, 2017
0986378
Updating the debugger to 1.7.1. (#1200)
rajkumar42 Feb 7, 2017
365a2d0
v1.7.0-beta4 -> v1.7.0-beta5
DustinCampbell Feb 7, 2017
9d7869a
Merge pull request #1199 from DustinCampbell/fix-dotnet-restore-for-p…
DustinCampbell Feb 8, 2017
e2622f6
Merge pull request #1201 from DustinCampbell/update-version
DustinCampbell Feb 8, 2017
add9a96
Adding pipeArgs documentation. (#1202)
rajkumar42 Feb 8, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ install:

script:
- npm test --silent
- npm run test-syntax

deploy:
provider: releases
Expand Down
17 changes: 14 additions & 3 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,27 @@
{
"version": "0.1.0",
"command": "gulp",
"isShellCommand": true,
"tasks": [
{
"taskName": "build",
"command": "npm",
"isShellCommand": true,
"args": ["run", "compile"],
"showOutput": "always",
"isBuildCommand": true
},
{
"taskName": "test",
"command": "echo",
"showOutput": "always",
"isShellCommand": true,
"args": ["Run tests in VS Code by launching the debugg with the 'Launch Tests' configuration."],
"isTestCommand": true
},
{
"taskName": "tslint",
"args": [],
"command": "gulp",
"isShellCommand": true,
"args": ["tslint"],
"problemMatcher": {
"owner": "tslint",
"fileLocation": [
Expand Down
57 changes: 57 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,60 @@
## 1.7.0 _(Not Yet Released)_

#### Syntax Hightlighting

* Introduced a brand new TextMate grammar written from scratch that provides much more robust C# syntax highlighting. ([#101](https://github.com/OmniSharp/omnisharp-vscode/issues/101), [#225](https://github.com/OmniSharp/omnisharp-vscode/issues/225), [#268](https://github.com/OmniSharp/omnisharp-vscode/issues/268), [#316](https://github.com/OmniSharp/omnisharp-vscode/issues/316), [#674](https://github.com/OmniSharp/omnisharp-vscode/issues/674), [#706](https://github.com/OmniSharp/omnisharp-vscode/issues/706), [#731](https://github.com/OmniSharp/omnisharp-vscode/issues/731), [#746](https://github.com/OmniSharp/omnisharp-vscode/issues/746), [#782](https://github.com/OmniSharp/omnisharp-vscode/issues/782), [#802](https://github.com/OmniSharp/omnisharp-vscode/issues/802), [#816](https://github.com/OmniSharp/omnisharp-vscode/issues/816), [#829](https://github.com/OmniSharp/omnisharp-vscode/issues/829), [#830](https://github.com/OmniSharp/omnisharp-vscode/issues/830), [#861](https://github.com/OmniSharp/omnisharp-vscode/issues/861), [#1078](https://github.com/OmniSharp/omnisharp-vscode/issues/1078), [#1084](https://github.com/OmniSharp/omnisharp-vscode/issues/1084), [#1086](https://github.com/OmniSharp/omnisharp-vscode/issues/1086), [#1091](https://github.com/OmniSharp/omnisharp-vscode/issues/1091), [#1096](https://github.com/OmniSharp/omnisharp-vscode/issues/1096), [#1097](https://github.com/OmniSharp/omnisharp-vscode/issues/1097), [#1106](https://github.com/OmniSharp/omnisharp-vscode/issues/1106), [#1115](https://github.com/OmniSharp/omnisharp-vscode/issues/1108))
* The C# TextMate grammar has a new home! Issues and contributions are welcome at [https://github.com/dotnet/csharp-tmLanguage](https://github.com/dotnet/csharp-tmLanguage).

### Project Support

* Updated with the latest changes for .NET Core .csproj projects. ([omnisharp-roslyn#738](https://github.com/OmniSharp/omnisharp-roslyn/pull/738))
* Automatic package restore and out-of-date notifications implemented for .NET Core .csproj projects. ([#770](https://github.com/OmniSharp/omnisharp-vscode/issues/770))
* Correctly update project when dotnet restore is performed on a .NET Core .csproj project. ([#1114](https://github.com/OmniSharp/omnisharp-vscode/issues/1114))
* Properly handle .csproj projects in .sln files that were added via .NET CLI commands. ([omnisharp-roslyn#741](https://github.com/OmniSharp/omnisharp-roslyn/pull/741))
* Fix `dotnet restore` Visual Studio Code command to execute for .csproj .NET Core projects. ([#1175](https://github.com/OmniSharp/omnisharp-vscode/issues/1175))
* Respect `nowarn` in project.json projects. ([omnisharp#734](https://github.com/OmniSharp/omnisharp-roslyn/pull/734)) _(Contributed by [@filipw](https://github.com/filipw))_
* Fix problem with project.json projects that wrap assemblies. ([#424](https://github.com/OmniSharp/omnisharp-vscode/issues/424))

### Debugging

* Enable debugger support for Zorin OS 12. ([#1160](https://github.com/OmniSharp/omnisharp-vscode/issues/1160)) _(Contributed by [@mkaziz](https://github.com/mkaziz))_
* Added off-road support for [Windows Subsystem for Linux](https://blogs.msdn.microsoft.com/wsl/2016/04/22/windows-subsystem-for-linux-overview/) (NOTE: requires newer version of Windows than have been publicly released yet)
* Fixed issue with debugger pause and multithreaded call stacks ([#1107](https://github.com/OmniSharp/omnisharp-vscode/issues/1107) and [#1105](https://github.com/OmniSharp/omnisharp-vscode/issues/1105))

### C# Scripting

* Support resolving `#r` references from the GAC. ([omnisharp-roslyn#721](https://github.com/OmniSharp/omnisharp-roslyn/pull/721)) _(Contributed by [@filipw](https://github.com/filipw))_
* Include System.ValueTuple in C# scripts implicitly. ([omnisharp-roslyn#722](https://github.com/OmniSharp/omnisharp-roslyn/pull/722)) _(Contributed by [@filipw](https://github.com/filipw))_

### Code Actions

* Fixed code actions that add files, such as "Move Type to File". ([#975](https://github.com/OmniSharp/omnisharp-vscode/issues/975))
* Properly surface code actions that have "nested code actions". This allows "generate type" to work properly. ([#302](https://github.com/OmniSharp/omnisharp-vscode/issues/302))
* Don't display the Remove Unnecessary Usings code action unless it is relevant. ([omnisharp-roslyn#742](https://github.com/OmniSharp/omnisharp-roslyn/issues/742))
* Don't show the Extract Interface refactoring as it requires a dialog that does not exist in VS Code. ([#925](https://github.com/OmniSharp/omnisharp-vscode/issues/925))

### Completion List

* A namespace icon should be displayed for namespaces in the completion list. ([#1125](https://github.com/OmniSharp/omnisharp-vscode/issues/1124)) _(Contributed by [@filipw](https://github.com/filipw))_
* Add icons for several symbol kinds in the completion list, fixing many symbols that incorrectly displayed a property "wrench" icon. ([#1145](https://github.com/OmniSharp/omnisharp-vscode/issues/1145))

### Other Updates and Fixes

* Add schema validation for omnisharp.json files. ([#1082](https://github.com/OmniSharp/omnisharp-vscode/pull/1082)) _(Contributed by [@Thaina](https://github.com/Thaina))_
* Add support for auto-closing and surrounding characters. ([#749](https://github.com/OmniSharp/omnisharp-vscode/issues/749), [#842](https://github.com/OmniSharp/omnisharp-vscode/issues/842)) _(Contributed by [@filipw](https://github.com/filipw))_
* Fix running and debugging of tests defined in nested classes. ([#743](https://github.com/OmniSharp/omnisharp-vscode/issues/743), [#1151](https://github.com/OmniSharp/omnisharp-vscode/issues/1151))
* Fix error when 'tasks.json' does not contain a 'tasks' node, or contains os-specific 'tasks' nodes. ([#1140](https://github.com/OmniSharp/omnisharp-vscode/issues/1140))
* Better detection of Windows architecture (x86 or x64) when determining extension dependencies to download. The detection logic now uses well-known environment variables rather than launching 'wmic'. ([#1110](https://github.com/OmniSharp/omnisharp-vscode/issues/1110), [#1125](https://github.com/OmniSharp/omnisharp-vscode/issues/1125))
* Improvements to the OmniSharp Log ([#1155](https://github.com/OmniSharp/omnisharp-vscode/pull/1155))
* Add new values to the `omnisharp.logginglevel` option to allow more granualar control of OmniSharp logging. ([#993](https://github.com/OmniSharp/omnisharp-vscode/issues/993)) _(Contributed by [@filipw](https://github.com/filipw))_
* Don't display the "some projects have trouble loading" message if projects only contain warnings. ([#707](https://github.com/OmniSharp/omnisharp-vscode/issues/707))
* Update Mono detection logic to succeed even if another shell is set as the default (e.g. zsh). ([#1031](https://github.com/OmniSharp/omnisharp-vscode/issues/1031))

### Known Issues

* Running and debugging of tests are not supported in .csproj-based .NET Core projects. However, there will still be clickable "run test" and "debug test" indicators above test methods. ([#1100](https://github.com/OmniSharp/omnisharp-vscode/issues/1100))
* When opening a .csproj-based .NET Core project in VS Code, the C# extension will not activate until a C# file is opened in the editor. ([#1150](https://github.com/OmniSharp/omnisharp-vscode/issues/1150))

## 1.6.2 (December 24, 2016)

* Fix performance issue when editing type names containing multiple generic type parameters. ([#1088](https://github.com/OmniSharp/omnisharp-vscode/issues/1088), [#1086](https://github.com/OmniSharp/omnisharp-vscode/issues/1086))
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ See our [change log](https://github.com/OmniSharp/omnisharp-vscode/blob/master/C
* Windows (64-bit only)
* macOS
* Ubuntu 14.04 / Linux Mint 17 / Linux Mint 18 / Elementary OS 0.3
* Ubuntu 16.04 / Elementary OS 0.4 / Arch
* Ubuntu 16.04 / Elementary OS 0.4 / Arch / Zorin OS 12
* Ubuntu 16.10
* Debian 8.2
* CentOS 7.1 / Oracle Linux 7
Expand All @@ -54,8 +54,6 @@ First install:
* Node.js (newer than 4.3.1)
* Npm (newer 2.14.12)

In case you get a *node-gyp* error [follow the instrutions here](https://github.com/nodejs/node-gyp/blob/master/README.md) to fix it. The *vscode-textmate* package pulls in a native node dependency and those instructions will set up the node build tool which deals with those.

To **run and develop** do the following:

* Run `npm i`
Expand Down
40 changes: 0 additions & 40 deletions ThirdPartyNotices.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ expressly granted, whether by implication, estoppel or otherwise.
3. run-in-terminal version 0.0.2 (https://github.com/microsoft/run-in-terminal)
4. semver version 5.1.0 (https://github.com/npm/node-semver)
5. DefinitelyTyped version 0.0.1 (https://github.com/borisyankov/DefinitelyTyped)
6. language-csharp version 0.11.0 (https://github.com/atom/language-csharp)

%% omnisharp-roslyn NOTICES AND INFORMATION BEGINS HERE
============================================================
Expand Down Expand Up @@ -123,42 +122,3 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
============================================================
END OF DefinitelyTyped NOTICES AND INFORMATION

%% language-csharp NOTICES AND INFORMATION BEGIN HERE
=========================================
Copyright (c) 2014 GitHub Inc.

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


This package was derived from a TextMate bundle located at
https://github.com/wintermi/csharp-tmbundle by Matthew Winter @wintermi and
Adam Lickel @lickel and distributed under the following license, located in
`README.markdown`:

This bundle is dual-licensed under MIT and GPL licenses.

- http://www.opensource.org/licenses/mit-license.php
- http://www.gnu.org/licenses/gpl.html

Use it, change it, fork it, sell it. Do what you will, but please leave the
author attribution.
=========================================
END OF language-csharp NOTICES AND INFORMATION
34 changes: 25 additions & 9 deletions csharp.configuration.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,27 @@
{
"comments": {
"lineComment": "//",
"blockComment": ["/*", "*/"]
},
"brackets": [
["{", "}"],
["[", "]"],
["(", ")"]
]
"comments": {
"lineComment": "//",
"blockComment": ["/*", "*/"]
},
"brackets": [
["{", "}"],
["[", "]"],
["(", ")"]
],
"autoClosingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
{ "open": "'", "close": "'", "notIn": ["string", "comment"] },
{ "open": "\"", "close": "\"", "notIn": ["string", "comment"] },
{ "open": "/*", "close": " */", "notIn": ["string"] }
],
"surroundingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
["<", ">"],
["'", "'"],
["\"", "\""]
]
}
40 changes: 11 additions & 29 deletions debugger.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ File bugs and feature requests [here](https://github.com/OmniSharp/omnisharp-vsc

###First Time setup
##### 1: Get Visual Studio Code
Install Visual Studio Code (VSC). Pick the latest VSC version from here: https://code.visualstudio.com Make sure it is at least 0.10.10.
Install Visual Studio Code (VSC). Pick the latest VSC version from here: https://code.visualstudio.com Make sure it is at least 1.5.

If you are not sure what version you have, you can see your version of VS Code:

Expand All @@ -29,7 +29,7 @@ Install the .NET Core command line tools (CLI) by following the installation par
##### 3: Install C# Extension for VS Code
Open the command palette in VS Code (F1) and type "ext install C#" to trigger the installation of the extension. VS Code will show a message that the extension has been installed and it will restart.

If you have previously installed the C# extension, make sure that you have version 1.2 or newer. You can check this by opening the command palette (F1) and running 'Extensions: Show Installed Extensions'.
If you have previously installed the C# extension, make sure that you have a recent version. You can check this by opening the command palette (F1) and running 'Extensions: Show Installed Extensions'.

##### 4: Wait for download of platform-specific files
The first time that C# code is opened in VS Code, the extension will download the platform-specific files needed for debugging and editing. Debugging and editor features will not work until these steps finish.
Expand All @@ -47,20 +47,11 @@ You can start from scratch by creating an empty project with `dotnet new`:
dotnet new
dotnet restore

You can also find some example projects on https://github.com/aspnet/cli-samples
If you want a web project (ASP.NET project) pass `-t web`. For web projects, makes sure to run `bower install` before running so that they can restore assets.

##### 2: Open the directory in VS Code
Go to File->Open and open the directory in Visual Studio Code. If this is the first time that the C# extension has been activated, it will now download additional platform-specific dependencies.

**Troubleshooting 'Error while installing .NET Core Debugger':** If the debugger is failing to download its platform-specific dependencies, first verify that you have the 1.0.0-preview2-003121 or newer build of the .NET CLI installed, and it is functioning. You can check this by starting a bash/command prompt and running 'dotnet --info'.

If the CLI is installed, here are a few additional suggestions:

* If clicking on 'View Log' doesn't show a log this means that running the 'dotnet --info' command failed. If it succeeds in bash/command prompt, but fails from VS Code, this likely means that your computer once had an older build of .NET CLI installed, and there are still remnants of it which cause VS Code and other processes besides bash to use the older version instead of the current version. You can resolve this issue by uninstalling the .NET Core CLI, and reinstalling the version you want (see below for macOS).
* If 'dotnet restore' is failing, make sure you have an internet connection to nuget.org, and make sure that if additional NuGet.Config files are being used, they have valid content. The log will indicate what NuGet.Config files were used. Try removing the files other than the one coming from the extension itself.

MacOS .NET CLI Reinstall Instructions: macOS doesn't have uninstall for pkg files (see [known issue](https://github.com/dotnet/core/blob/master/cli/known-issues.md#uninstallingreinstalling-the-pkg-on-os-x)), one option is to remove the dotnet cli directory with `sudo rm -rf /usr/local/share/dotnet` and then install the pkg again.

##### 3: Add VS Code configuration files to the workspace
VS Code needs to be configured so it understands how to build your project and debug it. For this there are two files which need to be added -- .vscode/tasks.json and .vscode/launch.json.

Expand All @@ -86,24 +77,15 @@ If your code has multiple projects or you would rather generate these files by h
...
"program": "${workspaceRoot}/MyLaunchingProject/bin/Debug/netcoreapp1.0/MyLaunchingProject.dll",

##### 4: Windows Only: Enable Portable PDBs
In the future, this step will go away, but for now you need to [change the project.json to use portable PDBs](https://github.com/OmniSharp/omnisharp-vscode/wiki/Portable-PDBs#net-cli-projects-projectjson).

##### 5: Pick your debug configuration

The default launch.json offers several different launch configurations depending on what kind of app you are building -- one for command line, one for web, and one for attaching to a running process.

To configure which configuration you want, bring up the Debug view by clicking on the Debugging icon in the View Bar on the side of VS Code.

![Debug view icon](https://raw.githubusercontent.com/wiki/OmniSharp/omnisharp-vscode/images/debugging_debugicon.png)

Now open the configuration drop down from the top and select the one you want.

![Debug launch configuration drop down](https://raw.githubusercontent.com/wiki/OmniSharp/omnisharp-vscode/images/debug-launch-configurations.png)
##### 4: Start debugging
Your project is now all set. Set a breakpoint or two where you want to stop, click the debugger play button (or hit F5) and you are off.

###Debugging Code compiled on another computer
* If the target binary is built on Linux / OSX, dotnet CLI will produce portable pdbs by default so no action is necessary.
* On Windows, you will need to take additional steps to build [portable PDBs](https://github.com/OmniSharp/omnisharp-vscode/wiki/Portable-PDBs#how-to-generate-portable-pdbs).
If your code was built on a different computer from where you would like to run in there are a few things to keep in mind --

* **Source Maps**: Unless your local source code is at exactly the same path as where the code was originally built you will need to add a [sourceFileMap](#source-file-map) to launch.json.
* **Portable PDBs**: If the code was built on Windows, it might have been built using Windows PDBs instead of portable PDBs, but the C# extension only supports portable PDBs. See the [portable PDB documentation](https://github.com/OmniSharp/omnisharp-vscode/wiki/Portable-PDBs#how-to-generate-portable-pdbs) for more information.
* **Debug vs. Release**: It is much easier to debug code which has been compiled in the 'Debug' configuration. So unless the issue you are looking at only reproduces with optimizations, it is much better to use Debug bits. If you do need to debug optimized code, you will need to disable [justMyCode](#just-my-code) in launch.json.

####More things to configure In launch.json
#####Just My Code
Expand All @@ -126,7 +108,7 @@ You can optionally configure a file by file mapping by providing map following t
#####Symbol Path
You can optionally provide paths to symbols following this schema:

"symbolPath":"[ \"/Volumes/symbols\"]"
"symbolPath": [ "/Volumes/symbols" ]

#####Environment variables
Environment variables may be passed to your program using this schema:
Expand Down
12 changes: 0 additions & 12 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,18 +145,6 @@ gulp.task('package:offline', ['clean'], () => {
return promise;
});

/// Test Task
gulp.task('test', () => {
gulp.src('out/test/**/*.tests.js')
.pipe(mocha({ ui: "tdd" }))
.once('error', () => {
process.exit(1);
})
.once('end', () => {
process.exit();
});
});

/// Misc Tasks
const allTypeScript = [
'src/**/*.ts',
Expand Down
Loading