forked fromdotnet/fsharp
- Notifications
You must be signed in to change notification settings - Fork0
Commit8f8cbd6
Code Lens and Line Lens (dotnet#3608)
* Found a workaround for the heavy code lens bug.Merged master into the branch.Signed-off-by: realvictorprm <mueller.vpr@gmail.com>* Fixes a deadlock due to context changes + started removing mutex. This is from yesterday!Review is NOT applied yet!Signed-off-by: realvictorprm <mueller.vpr@gmail.com>* Small fixes, applied a part of the reviewsThe UI is still buggy. This is very annoying.@saul I should report the bug you read about in my comments. . .Signed-off-by: realvictorprm <mueller.vpr@gmail.com>* Fixed CodeLens layout updates.Added possibility to enforce a re-layout of the visible code lens for the next layout-changed call.Applied suggestions from the reviews (could be that I missed one or two).Small cleanup.Small documentation additions.More checks.Removed some debug code.Added some debug code, most only appears if exceptions are thrown.The caching is still a small bit broken. At least I found out it's only a bit broken.Signed-off-by: realvictorprm <mueller.vpr@gmail.com>* Fixing removal of Code Lens.Reuse of elements still needs to be finished. I started it months ago but didn't finish it.Signed-off-by: realvictorprm <mueller.vpr@gmail.com>* Fixing fatal UI logic.Finally activated code for using cache results (so fixed a bug which included that code lens could be lost for us).Small cleanup to reduce confusion and decreased chance of introducing bugs due to this.Changing TaggerProvider to a more appropriate one.Discovered bugs in the visitor logic.* Added Line-LensAdded Options page to disable Code-Lens and to switch between Code-Lens and Line-LensMore caching fixes. Minimal UI fixesSigned-off-by: realvictorprm <mueller.vpr@gmail.com>* Fixed caching completely.Also fixed with this UI issues.Big cleanup.Now it's ready for another round of reviews!Signed-off-by: realvictorprm <mueller.vpr@gmail.com>* Added prefix optionSigned-off-by: realvictorprm <mueller.vpr@gmail.com>* Fixing bug reported by VasilyFixing cache bug.Fixing ui-offset bug.Fixing multi-view bug.Fixing build.Fixing signature bug reported by@saulSigned-off-by: realvictorprm <mueller.vpr@gmail.com>* Fixing KeyNotFoundException.Signed-off-by: realvictorprm <mueller.vpr@gmail.com>* Another UI fix.Code Lens are now hidden as soon as their line isn't visible anymore due to inserting new lines.Signed-off-by: realvictorprm <mueller.vpr@gmail.com>* Applied some review comments.Heavy performance improvements, now layouting isn't done every time due to that Visual Studio just transforms everything together (it's not viewport relative anymore, it's owner controlled but still in the wpf-text-view-coordinate-system)!The UI should now be fine in my opinion. It wasn't able for me to find a better workaround as just subtracting one pixel from the top position of the adornments.Signed-off-by: realvictorprm <mueller.vpr@gmail.com>* Another round of small cleanup.Signed-off-by: realvictorprm <mueller.vpr@gmail.com>* Another UI layout fix.Now weird code lens anymore :PSigned-off-by: realvictorprm <mueller.vpr@gmail.com>* Fixing merge* start working on color option* use darker gray à la normal CodeLens* Bind only from XAML. Fixes issue where "prefix" option was not saved* Undo unintended whitespace change* Should be part of previous commit* start working on color option* use darker gray à la normal CodeLens* Undo unintended whitespace change* Should be part of previous commit* fix value names* Applied review + small workaround for a bug.Merry Christmas!Signed-off-by: realvictorprm <mueller.vpr@gmail.com>* Removed old files* trying to fix CISigned-off-by: realvictorprm <mueller.vpr@gmail.com>* First fix for member and constructor signatures!Signed-off-by: realvictorprm <mueller.vpr@gmail.com>1 parent7453587 commit8f8cbd6
File tree
35 files changed
+1556
-6
lines changed- src/fsharp
- service
- symbols
- vsintegration/src
- FSharp.Editor
- CodeLens
- Common
- LanguageService
- Options
- FSharp.UIResources
- xlf
35 files changed
+1556
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1970 | 1970 | | |
1971 | 1971 | | |
1972 | 1972 | | |
| 1973 | + | |
1973 | 1974 | | |
1974 | 1975 | | |
1975 | 1976 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
908 | 908 | | |
909 | 909 | | |
910 | 910 | | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
911 | 914 | | |
912 | 915 | | |
913 | 916 | | |
| |||
1982 | 1985 | | |
1983 | 1986 | | |
1984 | 1987 | | |
| 1988 | + | |
1985 | 1989 | | |
1986 | 1990 | | |
1987 | 1991 | | |
| |||
2093 | 2097 | | |
2094 | 2098 | | |
2095 | 2099 | | |
| 2100 | + | |
| 2101 | + | |
| 2102 | + | |
| 2103 | + | |
| 2104 | + | |
| 2105 | + | |
| 2106 | + | |
2096 | 2107 | | |
2097 | 2108 | | |
2098 | 2109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
245 | 248 | | |
246 | 249 | | |
247 | 250 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1844 | 1844 | | |
1845 | 1845 | | |
1846 | 1846 | | |
| 1847 | + | |
| 1848 | + | |
| 1849 | + | |
| 1850 | + | |
| 1851 | + | |
| 1852 | + | |
| 1853 | + | |
| 1854 | + | |
| 1855 | + | |
| 1856 | + | |
| 1857 | + | |
| 1858 | + | |
| 1859 | + | |
| 1860 | + | |
| 1861 | + | |
| 1862 | + | |
| 1863 | + | |
1847 | 1864 | | |
1848 | 1865 | | |
1849 | 1866 | | |
| |||
1989 | 2006 | | |
1990 | 2007 | | |
1991 | 2008 | | |
1992 | | - | |
| 2009 | + | |
| 2010 | + | |
| 2011 | + | |
| 2012 | + | |
| 2013 | + | |
1993 | 2014 | | |
1994 | 2015 | | |
1995 | 2016 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
819 | 819 | | |
820 | 820 | | |
821 | 821 | | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
822 | 825 | | |
823 | 826 | | |
824 | 827 | | |
| |||
931 | 934 | | |
932 | 935 | | |
933 | 936 | | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
934 | 940 | | |
935 | 941 | | |
936 | 942 | | |
| |||
0 commit comments
Comments
(0)