forked fromdotnet/fsharp
- Notifications
You must be signed in to change notification settings - Fork0
Commitf2748ff
Better attribute completion (dotnet#2095)
* add FSharpDeclarationListItem.IsAttributetry to handle attributes in a special way at attribute application point (wip)* almost works* suggest all types, modules and namespaces at attribute application position* fix Context.AttributeApplication detection* autocomplete does not remove "Attribute" suffix if an attribute type does not have itfix related tests* do not try to use AstVisitorBase to determine that we are at attribute application position* try to fix tests* fix some tests* cut attribute prefix on editor side* fixed: IsAttribute can throw exceptions which results with empty completion list* fix tests1 parentee84eb7 commitf2748ff
File tree
12 files changed
+391
-342
lines changed- src/fsharp
- vs
- vsintegration
- src/FSharp.Editor
- CodeFix
- Completion
- tests
- Salsa
- unittests
12 files changed
+391
-342
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1063 | 1063 | | |
1064 | 1064 | | |
1065 | 1065 | | |
1066 | | - | |
| 1066 | + | |
1067 | 1067 | | |
1068 | 1068 | | |
1069 | 1069 | | |
1070 | 1070 | | |
1071 | | - | |
| 1071 | + | |
1072 | 1072 | | |
1073 | 1073 | | |
1074 | 1074 | | |
| |||
1178 | 1178 | | |
1179 | 1179 | | |
1180 | 1180 | | |
1181 | | - | |
| 1181 | + | |
1182 | 1182 | | |
1183 | 1183 | | |
1184 | 1184 | | |
| |||
1234 | 1234 | | |
1235 | 1235 | | |
1236 | 1236 | | |
1237 | | - | |
| 1237 | + | |
1238 | 1238 | | |
1239 | 1239 | | |
1240 | 1240 | | |
| |||
1344 | 1344 | | |
1345 | 1345 | | |
1346 | 1346 | | |
1347 | | - | |
| 1347 | + | |
1348 | 1348 | | |
1349 | 1349 | | |
1350 | 1350 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
705 | 705 | | |
706 | 706 | | |
707 | 707 | | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
708 | 719 | | |
709 | 720 | | |
710 | 721 | | |
| |||
1168 | 1179 | | |
1169 | 1180 | | |
1170 | 1181 | | |
1171 | | - | |
1172 | 1182 | | |
1173 | 1183 | | |
1174 | 1184 | | |
| |||
1255 | 1265 | | |
1256 | 1266 | | |
1257 | 1267 | | |
1258 | | - | |
| 1268 | + | |
1259 | 1269 | | |
1260 | 1270 | | |
1261 | 1271 | | |
| |||
1302 | 1312 | | |
1303 | 1313 | | |
1304 | 1314 | | |
1305 | | - | |
| 1315 | + | |
| 1316 | + | |
1306 | 1317 | | |
1307 | 1318 | | |
1308 | 1319 | | |
1309 | 1320 | | |
1310 | | - | |
1311 | 1321 | | |
1312 | 1322 | | |
1313 | 1323 | | |
1314 | 1324 | | |
1315 | 1325 | | |
1316 | | - | |
1317 | 1326 | | |
1318 | 1327 | | |
1319 | 1328 | | |
| |||
1363 | 1372 | | |
1364 | 1373 | | |
1365 | 1374 | | |
1366 | | - | |
| 1375 | + | |
1367 | 1376 | | |
1368 | 1377 | | |
1369 | | - | |
1370 | 1378 | | |
1371 | | - | |
1372 | | - | |
1373 | | - | |
| 1379 | + | |
| 1380 | + | |
| 1381 | + | |
| 1382 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
535 | 535 | | |
536 | 536 | | |
537 | 537 | | |
538 | | - | |
539 | | - | |
| 538 | + | |
0 commit comments
Comments
(0)