Re: vim / Eclipse setups for new developers, on the C++ side

2017-09-15 Thread Bikramjeet Vig
I use eclipse for just about everything. For c++, in addition to the steps
mentioned in the wiki you need to manually add includes from the toolchain
dir for eclipse to identify everything, refer this file

to get an idea of which includes you need . Also you need to add support
for c++11 by following steps in this link
.
As far as debugging is concerned, eclipse is fairly painless when it comes
to c++, but if I want to do something more fancy that eclipse dosent
support, I fall back to using GDB.

On Fri, Sep 15, 2017 at 9:24 AM, Lars Volker  wrote:

> I use mosh + tmux + vim to develop on my desktop machine, and YouCompleteMe
> for completion and navigation (jump to definition only). Recently I found
> out that YCM also can jump to the declaration in Python. :)
>
> To debug the Frontend, I checkout the matching revision on my laptop and
> open it in Eclipse there. Then I forward the debug ports from my desktop
> machine. That gives me a better experience than running Eclipse in a remote
> X server.
>
> On Fri, Sep 15, 2017 at 7:36 AM, Shant Hovsepian 
> wrote:
>
> > Pretty happy with using clang_complete in vim for C++ code in impala.
> > Memory usage can get a bit high.
> >
> > clang_complete's quickfix feature is nice for showing errors, don't care
> > for the periodic mode instead prefer to bind it and run it as part of a
> :w
> >
> > -Shant
> >
> > On Wed, Sep 13, 2017 at 8:34 PM, 俊杰陈  wrote:
> >
> > > I use NetBeans to view the code, the "show call graph" is useful to me.
> > >
> > > 2017-09-14 5:44 GMT+08:00 Tim Armstrong :
> > >
> > > > For a long time I've just used GNU screen + VIM with syntax
> > highlighting.
> > > > Then "git grep" or search in VIM as needed to find things. Obviously
> > not
> > > > ideal for everyone.
> > > >
> > > > I've tried YouCompleteMe recently and it works fairly well but hasn't
> > > been
> > > > a game-changer for me. Jumping to definitions is handy sometimes but
> I
> > > > haven't found that it's changed my workflow that much.
> > > >
> > > > On Wed, Sep 13, 2017 at 2:18 PM, Philip Zeyliger <
> phi...@cloudera.com>
> > > > wrote:
> > > >
> > > > > Hi folks,
> > > > >
> > > > > I'm querying what folks use for working on the C++ side of the code
> > > base.
> > > > > I'm specifically interested in navigation tools for vim (better
> than
> > > > > ctags), error-highlighting tools for vim (showing syntax errors and
> > > such
> > > > > "live"), and Eclipse integration (yes, I've seen the wiki
> > > > >  > > > > Eclipse+Setup+for+Impala+Development>
> > > > > ).
> > > > >
> > > > > I'll be happy to collate and update
> > > > > https://cwiki.apache.org/confluence/display/IMPALA/
> > > > > Useful+Tips+for+New+Impala+Developers
> > > > > (or other appropriate pages) once I get some feedback!
> > > > >
> > > > > Thanks!
> > > > >
> > > > > -- Philip
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Thanks & Best Regards
> > >
> >
>


Re: vim / Eclipse setups for new developers, on the C++ side

2017-09-15 Thread Lars Volker
I use mosh + tmux + vim to develop on my desktop machine, and YouCompleteMe
for completion and navigation (jump to definition only). Recently I found
out that YCM also can jump to the declaration in Python. :)

To debug the Frontend, I checkout the matching revision on my laptop and
open it in Eclipse there. Then I forward the debug ports from my desktop
machine. That gives me a better experience than running Eclipse in a remote
X server.

On Fri, Sep 15, 2017 at 7:36 AM, Shant Hovsepian 
wrote:

> Pretty happy with using clang_complete in vim for C++ code in impala.
> Memory usage can get a bit high.
>
> clang_complete's quickfix feature is nice for showing errors, don't care
> for the periodic mode instead prefer to bind it and run it as part of a :w
>
> -Shant
>
> On Wed, Sep 13, 2017 at 8:34 PM, 俊杰陈  wrote:
>
> > I use NetBeans to view the code, the "show call graph" is useful to me.
> >
> > 2017-09-14 5:44 GMT+08:00 Tim Armstrong :
> >
> > > For a long time I've just used GNU screen + VIM with syntax
> highlighting.
> > > Then "git grep" or search in VIM as needed to find things. Obviously
> not
> > > ideal for everyone.
> > >
> > > I've tried YouCompleteMe recently and it works fairly well but hasn't
> > been
> > > a game-changer for me. Jumping to definitions is handy sometimes but I
> > > haven't found that it's changed my workflow that much.
> > >
> > > On Wed, Sep 13, 2017 at 2:18 PM, Philip Zeyliger 
> > > wrote:
> > >
> > > > Hi folks,
> > > >
> > > > I'm querying what folks use for working on the C++ side of the code
> > base.
> > > > I'm specifically interested in navigation tools for vim (better than
> > > > ctags), error-highlighting tools for vim (showing syntax errors and
> > such
> > > > "live"), and Eclipse integration (yes, I've seen the wiki
> > > >  > > > Eclipse+Setup+for+Impala+Development>
> > > > ).
> > > >
> > > > I'll be happy to collate and update
> > > > https://cwiki.apache.org/confluence/display/IMPALA/
> > > > Useful+Tips+for+New+Impala+Developers
> > > > (or other appropriate pages) once I get some feedback!
> > > >
> > > > Thanks!
> > > >
> > > > -- Philip
> > > >
> > >
> >
> >
> >
> > --
> > Thanks & Best Regards
> >
>


Re: vim / Eclipse setups for new developers, on the C++ side

2017-09-15 Thread Shant Hovsepian
Pretty happy with using clang_complete in vim for C++ code in impala.
Memory usage can get a bit high.

clang_complete's quickfix feature is nice for showing errors, don't care
for the periodic mode instead prefer to bind it and run it as part of a :w

-Shant

On Wed, Sep 13, 2017 at 8:34 PM, 俊杰陈  wrote:

> I use NetBeans to view the code, the "show call graph" is useful to me.
>
> 2017-09-14 5:44 GMT+08:00 Tim Armstrong :
>
> > For a long time I've just used GNU screen + VIM with syntax highlighting.
> > Then "git grep" or search in VIM as needed to find things. Obviously not
> > ideal for everyone.
> >
> > I've tried YouCompleteMe recently and it works fairly well but hasn't
> been
> > a game-changer for me. Jumping to definitions is handy sometimes but I
> > haven't found that it's changed my workflow that much.
> >
> > On Wed, Sep 13, 2017 at 2:18 PM, Philip Zeyliger 
> > wrote:
> >
> > > Hi folks,
> > >
> > > I'm querying what folks use for working on the C++ side of the code
> base.
> > > I'm specifically interested in navigation tools for vim (better than
> > > ctags), error-highlighting tools for vim (showing syntax errors and
> such
> > > "live"), and Eclipse integration (yes, I've seen the wiki
> > >  > > Eclipse+Setup+for+Impala+Development>
> > > ).
> > >
> > > I'll be happy to collate and update
> > > https://cwiki.apache.org/confluence/display/IMPALA/
> > > Useful+Tips+for+New+Impala+Developers
> > > (or other appropriate pages) once I get some feedback!
> > >
> > > Thanks!
> > >
> > > -- Philip
> > >
> >
>
>
>
> --
> Thanks & Best Regards
>


Re: vim / Eclipse setups for new developers, on the C++ side

2017-09-13 Thread 俊杰陈
I use NetBeans to view the code, the "show call graph" is useful to me.

2017-09-14 5:44 GMT+08:00 Tim Armstrong :

> For a long time I've just used GNU screen + VIM with syntax highlighting.
> Then "git grep" or search in VIM as needed to find things. Obviously not
> ideal for everyone.
>
> I've tried YouCompleteMe recently and it works fairly well but hasn't been
> a game-changer for me. Jumping to definitions is handy sometimes but I
> haven't found that it's changed my workflow that much.
>
> On Wed, Sep 13, 2017 at 2:18 PM, Philip Zeyliger 
> wrote:
>
> > Hi folks,
> >
> > I'm querying what folks use for working on the C++ side of the code base.
> > I'm specifically interested in navigation tools for vim (better than
> > ctags), error-highlighting tools for vim (showing syntax errors and such
> > "live"), and Eclipse integration (yes, I've seen the wiki
> >  > Eclipse+Setup+for+Impala+Development>
> > ).
> >
> > I'll be happy to collate and update
> > https://cwiki.apache.org/confluence/display/IMPALA/
> > Useful+Tips+for+New+Impala+Developers
> > (or other appropriate pages) once I get some feedback!
> >
> > Thanks!
> >
> > -- Philip
> >
>



-- 
Thanks & Best Regards


Re: vim / Eclipse setups for new developers, on the C++ side

2017-09-13 Thread Tim Armstrong
For a long time I've just used GNU screen + VIM with syntax highlighting.
Then "git grep" or search in VIM as needed to find things. Obviously not
ideal for everyone.

I've tried YouCompleteMe recently and it works fairly well but hasn't been
a game-changer for me. Jumping to definitions is handy sometimes but I
haven't found that it's changed my workflow that much.

On Wed, Sep 13, 2017 at 2:18 PM, Philip Zeyliger 
wrote:

> Hi folks,
>
> I'm querying what folks use for working on the C++ side of the code base.
> I'm specifically interested in navigation tools for vim (better than
> ctags), error-highlighting tools for vim (showing syntax errors and such
> "live"), and Eclipse integration (yes, I've seen the wiki
>  Eclipse+Setup+for+Impala+Development>
> ).
>
> I'll be happy to collate and update
> https://cwiki.apache.org/confluence/display/IMPALA/
> Useful+Tips+for+New+Impala+Developers
> (or other appropriate pages) once I get some feedback!
>
> Thanks!
>
> -- Philip
>


vim / Eclipse setups for new developers, on the C++ side

2017-09-13 Thread Philip Zeyliger
Hi folks,

I'm querying what folks use for working on the C++ side of the code base.
I'm specifically interested in navigation tools for vim (better than
ctags), error-highlighting tools for vim (showing syntax errors and such
"live"), and Eclipse integration (yes, I've seen the wiki

).

I'll be happy to collate and update
https://cwiki.apache.org/confluence/display/IMPALA/Useful+Tips+for+New+Impala+Developers
(or other appropriate pages) once I get some feedback!

Thanks!

-- Philip