2sxc

2sxc Intellisense in VSCode


As stated in the 2sxc style guide, VS Code is the recommended editor for development. However, we are unable to get Intellisense working for the C# portions of code (including Razor and custom C# Web APIs). It appears to me that the official C# Language extension for VS Code expects a project .sln file for any language features to work, which 2sxc apps do not have/use. Is there a structure to a solution file we could use to have C# Intellisense work? Or, should we be opening our apps from a different folder, or in a different editor?


Solution

  • You are in luck - we found this challenging as well, and just recently got it to work ;)

    Check out the instructions here https://go.2sxc.org/vscode