oni icon indicating copy to clipboard operation
oni copied to clipboard

Set include directories C++

Open chaitunya opened this issue 8 years ago • 5 comments

Oni Version: 0.3.1 Operating System: Windows

I'm using Oni for C++. I want to set the include directories. I've checked the documentation, but it doesn't say anything about modifying the include directories.

Thanks in advance.

chaitunya avatar May 25 '18 05:05 chaitunya

Hello and welcome to the Oni repository! Thanks for opening your first issue here. To help us out, please make sure to include as much detail as possible - including screenshots and logs, if possible.

oni-bot avatar May 25 '18 05:05 oni-bot

@chaitunya I don't write c++ (@TalAmuyal I think writes c++ ?) so not the best person to help here but what do you mean when you say set include directories, I mean what functionality should that result in changes to autocomplete or something relating to compiling the code?

akinsho avatar May 29 '18 20:05 akinsho

Sorry for the late answer. I was wondering if I could modify the include directories for the autocomplete, so I would get autocomplete suggestions.

chaitunya avatar Jun 06 '18 07:06 chaitunya

Same here, wondering how to add include path

Escapingbug avatar Jun 15 '18 04:06 Escapingbug

I don't think we can expect a dedicated c++ plugin for Oni for now, this should be handled by a LSP.

cquery supports include autocompletion, see: https://github.com/cquery-project/cquery.

Let us know if you're able to configure and use it with Oni, see: https://github.com/onivim/oni/issues/1016

badosu avatar Sep 03 '18 17:09 badosu