Re: setting compile_commands.json on Mac for building LO in VS Code

2018-04-27 Thread Miklos Vajna
Hi, If you want to generate compile_commands.json, you can do that. For historical reasons the command to do that is "make vim-ide-integration". The result is useful not only in vim, but in any other editor that expects a cmake compilation database. Regards, Miklos signature.asc Description: D

Re: setting compile_commands.json on Mac for building LO in VS Code

2018-04-27 Thread Tor Lillqvist
Well, nobody has done what you suggest before, so you have lots of interesting challenges to enjoy, and we will gladly accept any improvements you can make to the IDE project generation stuff. Thanks! --tml ___ LibreOffice mailing list LibreOffice@lists.

Re: setting compile_commands.json on Mac for building LO in VS Code

2018-04-27 Thread Ch g
>I have no idea, but if all you want is for VS Code to run the same commands >that you would otherwise enter yourself, you need to run ./autogen.sh first, >at least once, before you can run make. I want to get rid of "cannot find source file..." errors in problem panel and jiggles in source fi

Re: setting compile_commands.json on Mac for building LO in VS Code

2018-04-26 Thread Tor Lillqvist
> What are the correct values for "command" and "file" of > compile_commands.json? > I have no idea, but if all you want is for VS Code to run the same commands that you would otherwise enter yourself, you need to run ./autogen.sh first, at least once, before you can run make. --tml _