zadirion / Unreal.nvim

Unreal Engine support for Neovim
MIT License
72 stars 16 forks source link

Fix escaped file names #5

Closed AntonC9018 closed 2 months ago

AntonC9018 commented 2 months ago

Fixes #3. The problem was that the file paths are shell-escaped with \" around in that file.

I tried doing it with a regex at first, but I don't think it's possible. The idea was to do an optional \" and then an any number of symbols that aren't the sequence \", and then \" again. But the second sequence isn't possible with regex I think. At least not without lookaheads.

Ideally, this needs an abstracted parser of course. So far the parsing is just a bunch of hacks.

AntonC9018 commented 2 months ago

The problem is that the plugin in general doesn't actually work. The lsp still complains.

zadirion commented 2 months ago

looks good, thank you for the fix!

The problem is that the plugin in general doesn't actually work. The lsp still complains.

I have a solution in the works for Unreal 5.4, but it's a complete departure from the nvim plugin approach. It is a whole tmux environment configured for unreal development, CLI centric. A big improvement compared to the current approach. I will post about it when it's ready.