Closed jdhitsolutions closed 6 months ago
Currently the editor is always assuming the content to be Powershell, I think we need to split the logic out and make a base TextEditor which can edit text, and then some easy way to add syntax highlighting, autocomplete etc. ontop of this based on the filetype you are working on... Would be really neat if we supported XML, JSON etc :-)
If I understand correctly, PSEdit is analyzing PowerShell script files for errors. But it shouldn't assume that every file is a PowerShell file. I have a JSON file open in the editor, and I shouldn't get errors.
This can be misleading for less experienced users.