//#region
出现在Intellisense中,我包装了一些代码:
//#region Graph
type AnnotationDataType =
| Text
| Image
| Audio
| Video
type Node =
{ NodeID: int
NodeLabel: string
AnnotationDataType: AnnotationDataType }
type Edge =
{ EdgeID: int
EdgeLabel: string
Source: int
Target: int }
//#endregion
但是没有任何反应!我不想要常规的“折叠”,因为它经常中断(只需尝试将一条线移出它的范围......)
显然它存在:https://code.visualstudio.com/docs/editor/codebasics
[在此处输入图片描述][1]
这里是我的配置文件,没有发生什么(我搜索了与区域相关的属性,但没有找到相关的):
"[fsharp]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "Ionide.Ionide-fsharp",
"editor.codeLens": true,
},
```
[1]: https://i.stack.imgur.com/jFFdK.png