我在 VS Code 中使用 Ionide F#。当我打开.fs
文件时,我看到添加到 VS CodeProblems
选项卡的项目和突出显示的编辑器以显示问题。但是,我无法弄清楚如何对整个解决方案进行 lint。如何对所有文件进行 lint?
编辑:
这是我遇到此问题的存储库: https ://github.com/GamesFaix/Djambi3
这是来自存储库的示例fsproj
文件,我在其中遇到了这个问题:
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Compile Include="Errors.fs" />
<Compile Include="Context.fs" />
<Compile Include="Security.fs" />
<Compile Include="Pieces.fs" />
<Compile Include="ModelExtensions\BoardModelExtensions.fs" />
<Compile Include="ModelExtensions\BoardModelUtility.fs" />
<Compile Include="ModelExtensions\GameModelExtensions.fs" />
<Compile Include="Services\NotificationService.fs" />
<Compile Include="Services\UserService.fs" />
<Compile Include="Services\SessionService.fs" />
<Compile Include="Services\BoardService.fs" />
<Compile Include="Services\GameCrudService.fs" />
<Compile Include="Services\PlayerService.fs" />
<Compile Include="Services\SelectionOptionsService.fs" />
<Compile Include="Services\SelectionService.fs" />
<Compile Include="Services\GameStartService.fs" />
<Compile Include="Services\EventService.fs" />
<Compile Include="Services\IndirectEffectsService.fs" />
<Compile Include="Services\TurnService.fs" />
<Compile Include="Services\PlayerStatusChangeService.fs" />
<Compile Include="Managers\BoardManager.fs" />
<Compile Include="Managers\GameManager.fs" />
<Compile Include="Managers\SessionManager.fs" />
<Compile Include="Managers\SnapshotManager.fs" />
<Compile Include="Managers\UserManager.fs" />
<Compile Include="LogicRoot.fs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\api.common\api.common.fsproj" />
<ProjectReference Include="..\api.db.interfaces\api.db.interfaces.fsproj" />
<ProjectReference Include="..\api.logic.interfaces\api.logic.interfaces.fsproj" />
<ProjectReference Include="..\api.model\api.model.fsproj" />
</ItemGroup>
<Import Project="..\..\.paket\Paket.Restore.targets" />
</Project>