I’m using: SWI-Prolog version ???
SWI-Prolog (threaded, 64 bits, version 8.4.3)
I want the code to:
Integrate into Visual Studio
How to Integrate prolog into Visual Studio 2022?
Microsoft Visual Studio Community 2022 (64-bit) - Current
But what I’m getting is:
V Studia cannot see SWI Prolog in the extensions
My code looks like this:
% your code here
You are asking to use Visual Studio 2022 to edit SWI prolog files.
Visual Studio tends to be much better at working with Microsoft supported languages (C#, C++, etc) and not as helpful with languages like Prolog. You won’t find SWI prolog in the Visual Studio extensions.
If you want to proceed anyway, I suggest you use File-Open-Folder, and browse to a place where Prolog files are found. Then in the solution files pane you should see Prolog files and you can see them. But there won’t be support beyond basic text editing.
Personally I recommend using Visual Studio Code instead [ this is a completely different product from Visual Studio ], because if you install Visual Studio Code, you will find Prolog extensions for that tool.
+1 for Visual Studio Code.