Karl Burtram
a54d081363
Avoid null reference exceptions in diagnostics parsing ( #149 )
...
* Avoid a couple possible null reference exceptions
* Switch syntax around a little bit.
2016-11-17 15:06:57 -08:00
Karl Burtram
f2b8a16d29
Update README.md
2016-11-15 13:17:49 -08:00
Karl Burtram
93dbe05a66
Add a few more autocomplete delimeter characters ( #138 )
...
Trival change to add a couple new delimeters..auto-merging.
2016-11-05 21:11:40 -07:00
Karl Burtram
54b5488ce2
Bump SMO to 140.1.11 ( #137 )
...
Version bump only
2016-11-05 16:56:37 -07:00
Karl Burtram
0e5abb4631
Add missing SrGen nuget package to repo ( #135 )
...
Merging since this is to fix a build break.
2016-11-05 16:36:00 -07:00
Karl Burtram
eafe2973be
Update nuget.config to pull private nuget packages from within the repro. ( #132 )
2016-11-01 11:09:55 -07:00
Karl Burtram
69bbb652da
Add more code coverage tests. ( #129 )
2016-10-29 19:59:58 -07:00
Karl Burtram
ab1316b1fb
Next batch of code coverage tests. ( #128 )
...
Auto-merging test-only changes. Please review the commit and I'll make changes in next iteration.
* Add more tests to boast code coverage
* Add more reliable connection tests.
2016-10-29 15:34:51 -07:00
Karl Burtram
6cdaa6e808
Add more test cases for code coverage ( #127 )
...
Next round of code coverage test cases. Please review the commit for next iteration.
* Add connection retry tests
* More test coverage
* Update diagnostics end-to-end test
2016-10-29 12:10:02 -07:00
Karl Burtram
f46fc0c787
Add additional test cases ( #125 )
...
Test-only changes for code coverage. Please review the comment and I'll include the changes in the next iteration.
* Add more tests
* Add some more additional test cases
2016-10-28 20:33:32 -07:00
Karl Burtram
9bd5839812
Add end-to-end language service tests. ( #123 )
...
Test-only code coverage changes. Please review the commit and I'll follow-up on next iteration.
2016-10-28 01:04:48 -07:00
Karl Burtram
6b589f45bb
Fix some typos in code coverage merge.
2016-10-27 19:00:06 -07:00
Karl Burtram
da84ae9f3b
Code coverage improvements ( #121 )
...
These are test-only changes to improve code coverage so I'll merge directly. Please review the commit and I'll pickup those changes in the next iteration.
* Add integration test batch file
* Exclude Linux and MacOS from Windows code coverage builds
* Enable code coverage for test driver e2e tests
* Use the windows only build for code coverage runs
2016-10-27 18:18:31 -07:00
Karl Burtram
d42a92dd94
Test fixes to enable integration suites
2016-10-26 22:44:21 -07:00
Karl Burtram
b0f7ba4084
Turn on disabled tests in integration suite ( #120 )
...
No real code changes, just reenabling disabled tests in integration test runs.
2016-10-27 05:00:14 +00:00
Karl Burtram
4bc490db7c
Add switch for setting test build configuration ( #119 )
...
This is build config-only so I'm merging to get updated build tonight.
2016-10-27 04:32:57 +00:00
Karl Burtram
649ea7d05c
Suggestion list cleanups ( #115 )
...
* Add additional autocomplete words
* Add another word to default completion list
* Add colorization keywords and fix minor bugs.
2016-10-25 17:21:37 +00:00
Karl Burtram
1d7e6e353f
Feature/cleanups1 ( #114 )
...
* Intellisense cleanups.
* Additional intellisense cleanups for default list
* Add missing Monitor.Exit in completion resolve
* A couple more cleanups.
* Bug fixes for auto-complete.
* Add comment regarding conditional logic
2016-10-24 18:11:49 +00:00
Karl Burtram
854a6a0eca
Switch back to event from locks to fix blocking issues. ( #111 )
2016-10-21 15:46:33 -07:00
Karl Burtram
fd7a2a5748
Bump SMO to 140.1.9 ( #108 )
...
version bump only
2016-10-20 14:57:40 -07:00
Karl Burtram
4ee6de63f5
Rollback build break from previous check-in ( #105 )
2016-10-19 13:04:02 -07:00
Karl Burtram
b001f428bf
Fix a binding causing autosuggestions to fail ( #104 )
2016-10-19 10:35:53 -07:00
Karl Burtram
c05dcbbc75
Use private SqlClient to fix UDT issue ( #99 )
...
This is only a version bump so I'm going to merge now to try and make Monday's build.
2016-10-15 22:35:34 -07:00
Karl Burtram
2f876714ed
Disable test causing failures in lab builds ( #93 )
2016-10-12 19:58:04 -07:00
Karl Burtram
c5f44ccee1
Switch from events to locks during parsing ( #87 )
...
* Switch from event to locks in binding.
* Remove unneeded null check.
2016-10-12 15:09:24 -07:00
Karl Burtram
f32b0290bb
Remove extra level of tasks in binding queue ( #79 )
...
* Remove extra layer of tasks in binding queue
* Change order of assigning result to avoid race condition
* Add timeout log for the metadata lock event
* Fix test cases
2016-10-08 00:06:35 +00:00
Karl Burtram
c6a2568075
Fix an issue with queue deadlocks causing test failures ( #77 )
2016-10-05 20:35:57 -04:00
Karl Burtram
62525b9c98
Add IntelliSense binding queue ( #73 )
...
* Initial code for binding queue
* Fix-up some of the timeout wait code
* Add some initial test code
* Add missing test file
* Update the binding queue tests
* Add more test coverage and refactor a bit. Disable reliabile connection until we can fix it..it's holding an open data reader connection.
* A few more test updates
* Initial integrate queue with language service.
* Hook up the connected binding queue into al binding calls.
* Cleanup comments and remove dead code
* More missing comments
* Fix build break. Reenable ReliabileConnection.
* Revert all changes to SqlConnectionFactory
* Resolve merge conflicts
* Cleanup some more of the timeouts and sync code
* Address code review feedback
* Address more code review feedback
2016-10-04 14:55:59 -07:00
Karl Burtram
f16d0104d0
Bump SMO to 14.0.7 to pick Batchparser updates ( #72 )
...
...bumping versions. No review needed.
2016-09-30 15:50:38 -07:00
Karl Burtram
3777cceb57
Enable Quick Info hover tooltips ( #65 )
...
Pushing to include in tomorrow's partner release build. Please send me any feedback and I'll address in the next Intellisense PR.
2016-09-26 20:11:26 -07:00
Karl Burtram
8b6e15a43b
Bump SMO to 140.1.6 to pick up perf fixes ( #69 )
2016-09-26 16:21:00 -07:00
Karl Burtram
5a198e3f45
Remove task.wait from test to avoid break on build machine. ( #67 )
...
This is to fix test breaks so I'll merge now. Please let me know if there are comments on this commit.
2016-09-26 10:29:49 -07:00
Karl Burtram
806220c4b5
Feature/autocomp options ( #63 )
...
* Enable IntelliSense settings
* Fix up some bugs in the IntelliSense settings.
* Code cleans for PR
* Fix a couple exceptions that are breaks query execute and intellisense.
* Add useLowerCase flag and settings tests
2016-09-25 12:53:28 -07:00
Karl Burtram
27e092d370
Remove deleted file with whitespace name
2016-09-23 10:51:53 -07:00
Karl Burtram
159362f01b
Disable failing test while investigating
2016-09-20 23:52:31 -07:00
Karl Burtram
7d6aabb618
Fix build break in row count merge
2016-09-20 21:10:22 -07:00
Karl Burtram
7226240b80
Merge pull request #60 from Microsoft/dev
...
Merge to master Fixing bug with incorrect row count returned (#58 )
2016-09-20 21:05:07 -07:00
Karl Burtram
20a3bf4aae
Merge pull request #59 from Microsoft/dev
...
Merge dev to master for dogfood1 re-release
2016-09-20 20:51:15 -07:00
Karl Burtram
bf6a0e52e2
Merge pull request #54 from Microsoft/feature/autocompFixes
...
Merge autocomplete improvements to dev
2016-09-20 17:26:05 -07:00
Karl Burtram
701aba8d46
Add some tests to increase code coverage metrics
2016-09-19 18:21:48 -07:00
Karl Burtram
0bd7edecf1
Check if script is output window before parsing.
2016-09-19 14:00:10 -07:00
Karl Burtram
30a6fdd26c
Fix Connection tests break
2016-09-19 12:35:59 -07:00
Karl Burtram
03315475cb
Misc. cleanup for PR
2016-09-19 12:32:56 -07:00
Karl Burtram
44914aa8b9
Move ParseBind out of locked block
2016-09-18 23:20:43 -07:00
Karl Burtram
e74a392ca9
Improve autocomplete locking
2016-09-18 01:54:32 -07:00
Karl Burtram
108b7cc7e1
Merge pull request #53 from Microsoft/dev
...
Merge to master for dogfood release.
2016-09-15 10:27:36 -07:00
Karl Burtram
2fbe39b637
Make the log file name unique per session ( #50 )
...
* Make the log file name unique per session
* Try to use PID for unique ID
2016-09-14 12:30:16 -07:00
Karl Burtram
1671f762bf
Autocomplete bug fixes ( #43 )
...
Fix-up the autocomplete support to better handle binding timeouts.
Also provide a default keyword suggestion list.
2016-09-13 15:22:57 -07:00
Karl Burtram
222f9364d8
Jenkins code coverage integration ( #47 )
2016-09-12 22:05:45 -07:00
Karl Burtram
f94a1dea05
Merge pull request #46 from Microsoft/bug/hangingTest
...
Very small fix that addresses a hanging unit test
2016-09-12 21:20:17 -07:00
Karl Burtram
baebaeb0c4
Merge pull request #34 from Microsoft/feature/testSmo
...
Enable SMO-based autocomplete
2016-09-02 12:02:31 -07:00
Karl Burtram
1b7e27fe76
Get SqlConnection from casting DbConnection
2016-09-02 11:41:41 -07:00
Karl Burtram
01039677c7
Fix .gitignore to exclude code coveage output files
2016-09-01 10:00:38 -07:00
Karl Burtram
e5367416b8
Merge branch 'dev' into feature/testSmo
2016-09-01 09:59:20 -07:00
Karl Burtram
e003bb3023
Fix nuget.config to pull from offical Nuget.org feed
2016-09-01 09:59:02 -07:00
Karl Burtram
547c050a1c
Remove dead code
2016-09-01 00:26:38 -07:00
Karl Burtram
1332fd112e
Clean-up the autocomplete SMO integration.
2016-09-01 00:23:39 -07:00
Karl Burtram
013498fc3d
Setup code coverage to be runable on demand
2016-08-31 16:01:24 -07:00
Karl Burtram
f88619c09e
Update unit tests to fix failures from autocomplete refactoring
2016-08-31 12:25:07 -07:00
Karl Burtram
99ab6406d2
Integrate SMO .Net core into SQL Tools Service project
2016-08-26 10:15:23 -07:00
Karl Burtram
b8329a7986
Merge branch 'dev' into feature/testSmo
2016-08-24 23:04:24 -07:00
Karl Burtram
89ca0c1fde
Inital SMO autocomplete commit
2016-08-24 23:03:43 -07:00
Karl Burtram
1c90add7e0
Merge pull request #24 from Microsoft/feature/updatesqlparserversion
...
Update Microsoft.SqlServer.SqlParser nuget package version
2016-08-18 15:51:44 -07:00
Karl Burtram
a37d9babc9
Merge pull request #21 from Microsoft/feature/fixmacbuild
...
Update nuget.config to private nuget server
2016-08-17 22:35:11 -07:00
Karl Burtram
150e61a5a6
Update nuget.config to private nuget server
2016-08-17 22:31:04 -07:00
Karl Burtram
ad008db4f5
Merge pull request #10 from Microsoft/dev_langservice
...
Fix project names and add internalsvisible for tests
2016-07-26 11:45:56 -07:00
Karl Burtram
53e26798fc
Language Service diagnostics and autocomplete ( #9 )
...
* Merge master to dev (#4 )
* Misc. clean-ups related to removing unneeded PowerShell Language Service code.
* Remove unneeded files and clean up remaining code.
* Enable file change tracking with Workspace and EditorSession.
* Setup standard src, test folder structure. Add unit test project.
* Actually stage the deletes. Update .gitignore
* Integrate SqlParser into the onchange diagnostics to provide error messages.
* Add tests for the language service diagnostics
* Initial implementation for autocomplete.
* Switch to using sys.tables for autocomplete
Move some code into a better class
* Delete unused csproj file.
* Add nuget.config to pickup SQL Parser nuget package
2016-07-25 13:04:14 -07:00
Karl Burtram
ffc89231f4
Delete unused csproj file.
2016-07-24 13:38:44 -07:00
Karl Burtram
4cebc196ff
Switch to using sys.tables for autocomplete
...
Move some code into a better class
2016-07-24 13:37:10 -07:00
Karl Burtram
a7d634a014
Merge branch 'dev' into dev_langservice
2016-07-24 11:15:47 -07:00
Karl Burtram
4484c8d8cf
Initial implementation for autocomplete.
2016-07-24 02:47:45 -07:00
Karl Burtram
3a55333598
Add tests for the language service diagnostics
2016-07-23 17:05:49 -07:00
Karl Burtram
7119db3bcd
Integrate SqlParser into the onchange diagnostics to provide error messages.
2016-07-23 15:05:02 -07:00
Karl Burtram
01e8f9c3f5
Merge ServiceHost xUnit test project into dev. ( #5 )
...
* Setup standard src, test folder structure. Add unit test project.
* Actually stage the deletes. Update .gitignore
2016-07-18 17:24:07 -07:00
Karl Burtram
37d3cebc42
Mege dev to master ( #6 )
...
* Merge master to dev (#4 )
* Misc. clean-ups related to removing unneeded PowerShell Language Service code.
* Remove unneeded files and clean up remaining code.
* Enable file change tracking with Workspace and EditorSession.
* Merge ServiceHost xUnit test project into dev. (#5 )
* Setup standard src, test folder structure. Add unit test project.
* Actually stage the deletes. Update .gitignore
2016-07-17 12:01:56 -07:00
Karl Burtram
ae54004e99
Actually stage the deletes. Update .gitignore
2016-07-17 11:44:03 -07:00
Karl Burtram
68999917b2
Setup standard src, test folder structure. Add unit test project.
2016-07-17 11:31:31 -07:00
Karl Burtram
569183134a
Update README.md
2016-07-16 13:06:00 -07:00
Karl Burtram
921b2f5b04
Merge master to dev ( #4 )
...
* Misc. clean-ups related to removing unneeded PowerShell Language Service code.
* Remove unneeded files and clean up remaining code.
* Enable file change tracking with Workspace and EditorSession.
2016-07-16 12:06:21 -07:00
Karl Burtram
5530ed4367
Merge branch 'dev'
2016-07-16 11:52:47 -07:00
Karl Burtram
6f922603bd
Merge conflicts resolved
2016-07-16 11:52:10 -07:00
Karl Burtram
f2a5ebd605
Add configuration change notification event handler.
...
Clean up code a bit more to remove unneeded code.
Better integrate the diagnostic callback code.
2016-07-16 10:45:27 -07:00
Karl Burtram
ee664949c5
Additional code cleanup following initial check-in.
...
Enable more ScriptFile code and hook in stub for error parsing.
2016-07-16 02:37:49 -07:00
Karl Burtram
ea3d015961
Dev ( #2 )
...
* Misc. clean-ups related to removing unneeded PowerShell Language Service code.
* Remove unneeded files and clean up remaining code.
* Enable file change tracking with Workspace and EditorSession.
2016-07-16 01:20:56 -07:00
Karl Burtram
4ad506f6f2
Enable file change tracking with Workspace and EditorSession.
...
Also include misc. clean-ups related to removing unneeded PowerShell Language Service code.
2016-07-16 01:14:12 -07:00
Karl Burtram
f2bb986f42
Remove unneeded files and clean up remaining code.
2016-07-15 23:22:27 -07:00
Karl Burtram
c78292a680
Servicehost cleanup ( #1 )
...
Merge some code clean ups. Find+Replace 'PowerShell' with 'SQL Tools'.
Enable logger in ServiceHost project.
2016-07-15 20:48:31 -07:00