jbakamovic / yavide Goto Github PK
View Code? Open in Web Editor NEWModern C/C++ integrated development environment
License: GNU General Public License v2.0
Modern C/C++ integrated development environment
License: GNU General Public License v2.0
Hello,
I Installed on a fresh debian 8 but i don't see the editor like you show on your screenshot, i just ran the installation from your install.sh and hot no errors...
Do i need to do anything else after installing?
Thanks!
Soon as you close the Program it starts freezing and doesnt response anymore. (Arch Linux 64bit)
It would be nice to automate the usage of QA tools such as cppcheck/cpplint/frama-c/clang-analyzer/clang-sanitizers/nsiqcppstyle
echo "$passwd" | sudo -S cp yavide.desktop /home/$USER/Desktop
some directory maybe not exist
for example , ,my /home/root/Desktop does not exist
then yavide_desktop will be cp to /home/root, and rename as Desktop
then fail.
maybe you can mkdir -p $dir before using.
at Start popup a window a give This.
Error detected while processing /opt/yavide/core/.core.vimrc:
line 29:
E319: Sorry, the command is not available in this version: python import sys, vim
line 30:
E319: Sorry, the command is not available in this version: python sys.path.append(vim.eval('g:YAVIDE_CORE_DIRECTORY'))
Error detected while processing /opt/yavide/core/.globals.vimrc:
line 59:
E319: Sorry, the command is not available in this version: python << EOF
line 60:
E492: Not an editor command: from multiprocessing import Queue
line 61:
E492: Not an editor command: server_queue = Queue()
line 62:
E492: Not an editor command: EOF
I didn't notice this until later in my installation since all requirement checks were passed.
Display type and/or function definition on mouse hover. Look at the Tagbar
implementation.
How to filter out errors from warnings in quickfixwindow
? Or at least make them somewhat more distinctive from each other, i.e. by color.
Themes have been migrated to https://github.com/vim-airline/vim-airline-themes
Integrate Cscope functionality.
This issue is present due to the implementation of tabline
in Vim-airline
plugin. More details on this link:
Workaround:
1. Turn-off tabline
by adding let g:airline#extensions#tabline#enabled = 0
to .vimrc
See if it is possible to do the time consuming tasks in background (asynchronously).
On Fedora, dependencies should be:
Hi @JBakamovic , thanks for your excellent work on yavide
. I think it is exactly what I have been looking for.
I am having problems invoking NERD Tree. Basically, when I hit F3
, I get the following message:
Thanks in advance!
Env:
Ubuntu 16.04 x64
after installation i got the following error by start:
Error detected while processing /opt/yavide/core/.core.vimrc:
line 29:
E319: Sorry, the command is not available in this version: python import sys, vim
line 30:
E319: Sorry, the command is not available in this version: python sys.path.append(vim.eval(‘g:YAVIDE_CORE_DIRECTORY’))
Error detected while processing /opt/yavide/core/.globals.vimrc:
line 59:
E319: Sorry, the command is not available in this version: python << EOF
line 60:
E492: Not an editor command: from multiprocessing import Queue
line 61:
E492: Not an editor command: server_queue = Queue()
line 62:
E492: Not an editor command: EOF
can somebody help me out?
thanks a lot!
I just attempted to install yavide
, and the requirement for root
privilege is unsettling. First of all, I don't trust scripts to run as root
, cf the recent failure with Steam bug which cause havoc0.
Reasonable practice should be:
yavide
should not require an up-to-date systemyavide
should not update the user systemyavide
should not require root
permissionIf dependencies are needed, explicitly tell the user to install the required packages.
If the destination directory is not user-writable, the user should choose to run the script using his preferred method under the relevant user.
Hi, what should I do after I install yavide?
Seems only following the instructions doesn't take any effect at all?
Instead of asking the user for a password and doing things like echo $PASSWORD | sudo ...
just do sudo ...
. Some users might've setup sudo to not require the password, so asking for a password is meaningless in those cases. Plus if sudo DOES require a password you only need to enter it once, and sudo has it cached.
Another gaping issue I discovered, as someone who's setup sudo to not prompt for a password, is that when the installation tried to install packages pacman did the regular ":: Proceed with installation? [Y/n] "... my password was printed as a response in clear text.
There is only one mention that it is "open-source software" in the README.markdown but other than that there is no license file. Therefor, I am a little bit concerned if I can use it freely ( as in freedom).
I want to increase the font size and save it so that the default font size is not loaded every time I start yavide. I have also tried editing the core/.editor.vimrc file and changed the font from 9 to 12 but it doesn't increase the font size. How can I fix this?
I have succesfully installed yavide, open project and everything except this works. Clang is installed, libclang.so is set properly in .user_settings.vimrc, but .clang_complete file is empty. My OS is lubuntu 15.04 desktop amd64
Automate the plugin update
Very nice.. but how to uninstall this? Really that must be hard?
It would be nice to expose additional options available to the user for things like:
NERDTree
Tagbar
cscope
& ctags
(for better tag generation due to project specifics)See what are the possibilities for integration of GDB into this environment.
Hi,
This might be a silly question, after doing the installation no changes were done to the .vimrc file. How di we expect the plugin to get loaded at all?
Hi
I've just installed yavide and it looks like this:
http://imgur.com/a/uWR4H
How can I fix the errors and make it look like the screenshot?
And is there any way to use terminal vim instead of gvim?
Thanks and keep it up!
Layout sometimes can become screwed up due to some command and/or plugin. This often results in loss of a tree explorer and/or tag list.
Workaround:
1. Kill any empty windows that may have appeared (give focus to the window and press Ctrl-w c
)
2. Switch to some existing buffer (Ctrl-Tab
)
3. If tree explorer is missing, enter :NERDTree
4. If tag list is missing, enter :Tagbar
5. Adjust the size of the windows
6. :SaveSession
Hello.
I've installed yavide and I see that my class variables don't highlighted with special color like on your demo for Syntax hightlighting service. I've attached my test project on which I'm testing your IDE. Service is setted to enable in <yavide_install_dir>/core/.globals.vimrc file. So here is the screenshot.
can yavide be install on msys2/mingw ?
Integrate Syntastic
syntax checking on-the-fly.
On a lower screen res such as 1280x800, when selecting a compiler (or any menu option with a long list) from the menu, the menu extends past the bottom of the screen.
Hi,
I'm on Gentoo. I tried to install with install.sh script. I entered my password for sudo, but then, it tried to update my Gentoo packages without any confirmation and tried to downgrade some of my packages. Doing an emerge -uv world
should not be done by the script or at least the ask (-a) option should be used.
I think that the install script does too much. There should be at least an option to make a minimal install.
During install, I noticed my password PRINTED out in the on-screen text. This is inappropriate and a security risk. I've attached a snippet of the command prompt below. It doesn't look like this was done on purpose, but it should be addressed. I looked through the script and didn't see anything obvious, but I think it's occurring around line 51. Seems to match up with whatever is being downloaded and installed at the time.
Integrate plugin to automate documenting source code (i.e. Doxygen)
Currently OS X is not supported, but most, if not all, should be working on OS X.
Things I noticed in the install script:
brew
as OS X package manager elif [[ `which brew` != "" ]]; then
SYSTEM_PACKAGE_MANAGER="brew"
SYSTEM_PACKAGE_MANAGER_INSTALL="brew install"
SYSTEM_PACKAGE_MANAGER_UPDATE="brew update"
fi
Possibility to rearrange buffers would be nice to have.
copying lib3/yaml/constructor.py -> build/lib.linux-x86_64-3.4/yaml
running build_ext
creating build/temp.linux-x86_64-3.4
checking if libyaml is compilable
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c build/temp.linux-x86_64-3.4/check_libyaml.c -o build/temp.linux-x86_64-3.4/check_libyaml.o
checking if libyaml is linkable
x86_64-linux-gnu-gcc -pthread build/temp.linux-x86_64-3.4/check_libyaml.o -lyaml -o build/temp.linux-x86_64-3.4/check_libyaml
building '_yaml' extension
creating build/temp.linux-x86_64-3.4/ext
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c ext/_yaml.c -o build/temp.linux-x86_64-3.4/ext/_yaml.o
ext/_yaml.c:4:20: fatal error: Python.h: No such file or directory
#include "Python.h"
^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Failed building wheel for PyYAML
Running setup.py clean for PyYAML
Failed to build PyYAML
Installing collected packages: PyYAML, pathtools, watchdog
Running setup.py install for PyYAML ... error
Complete output from command /usr/bin/python3.4 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-ozg2u4uc/PyYAML/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-j0w6n66s-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.4
creating build/lib.linux-x86_64-3.4/yaml
copying lib3/yaml/serializer.py -> build/lib.linux-x86_64-3.4/yaml
copying lib3/yaml/dumper.py -> build/lib.linux-x86_64-3.4/yaml
copying lib3/yaml/parser.py -> build/lib.linux-x86_64-3.4/yaml
copying lib3/yaml/reader.py -> build/lib.linux-x86_64-3.4/yaml
copying lib3/yaml/emitter.py -> build/lib.linux-x86_64-3.4/yaml
copying lib3/yaml/nodes.py -> build/lib.linux-x86_64-3.4/yaml
copying lib3/yaml/cyaml.py -> build/lib.linux-x86_64-3.4/yaml
copying lib3/yaml/events.py -> build/lib.linux-x86_64-3.4/yaml
copying lib3/yaml/loader.py -> build/lib.linux-x86_64-3.4/yaml
copying lib3/yaml/resolver.py -> build/lib.linux-x86_64-3.4/yaml
copying lib3/yaml/tokens.py -> build/lib.linux-x86_64-3.4/yaml
copying lib3/yaml/error.py -> build/lib.linux-x86_64-3.4/yaml
copying lib3/yaml/representer.py -> build/lib.linux-x86_64-3.4/yaml
copying lib3/yaml/__init__.py -> build/lib.linux-x86_64-3.4/yaml
copying lib3/yaml/scanner.py -> build/lib.linux-x86_64-3.4/yaml
copying lib3/yaml/composer.py -> build/lib.linux-x86_64-3.4/yaml
copying lib3/yaml/constructor.py -> build/lib.linux-x86_64-3.4/yaml
running build_ext
creating build/temp.linux-x86_64-3.4
checking if libyaml is compilable
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c build/temp.linux-x86_64-3.4/check_libyaml.c -o build/temp.linux-x86_64-3.4/check_libyaml.o
checking if libyaml is linkable
x86_64-linux-gnu-gcc -pthread build/temp.linux-x86_64-3.4/check_libyaml.o -lyaml -o build/temp.linux-x86_64-3.4/check_libyaml
building '_yaml' extension
creating build/temp.linux-x86_64-3.4/ext
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c ext/_yaml.c -o build/temp.linux-x86_64-3.4/ext/_yaml.o
ext/_yaml.c:4:20: fatal error: Python.h: No such file or directory
#include "Python.h"
^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Command "/usr/bin/python3.4 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-ozg2u4uc/PyYAML/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-j0w6n66s-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-ozg2u4uc/PyYAML/
What error is this. debian 8.
Hi,
Yavide throws me a bunch of errors on startup.
I don't know what's actually a reason, whether it's python or code behind it in yavide.
BTW. Where in yavide's code can I force it to use specific version
/usr/bin/python2
For now I wasn't sure so I just symlinked python to python2 instead of python3.
OS:
Linux 1337 4.7.6-1-ARCH #1 SMP PREEMPT Fri Sep 30 19:28:42 CEST 2016 x86_64 GNU/Linux
VIM:
➜ ~ vim --version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Sep 26 2016 10:00:18)
Included patches: 1-13
Compiled by Arch Linux
Huge version with GTK3 GUI. Features included (+) or not (-):
+acl +file_in_path +mouse_sgr +tag_old_static
+arabic +find_in_path -mouse_sysmouse -tag_any_white
+autocmd +float +mouse_urxvt +tcl/dyn
+balloon_eval +folding +mouse_xterm +termguicolors
+browse -footer +multi_byte +terminfo
++builtin_terms +fork() +multi_lang +termresponse
+byte_offset +gettext -mzscheme +textobjects
+channel -hangul_input +netbeans_intg +timers
+cindent +iconv +num64 +title
+clientserver +insert_expand +packages +toolbar
+clipboard +job +path_extra +user_commands
+cmdline_compl +jumplist +perl/dyn +vertsplit
+cmdline_hist +keymap +persistent_undo +virtualedit
+cmdline_info +lambda +postscript +visual
+comments +langmap +printer +visualextra
+conceal +libcall +profile +viminfo
+cryptv +linebreak +python/dyn +vreplace
+cscope +lispindent +python3/dyn +wildignore
+cursorbind +listcmds +quickfix +wildmenu
+cursorshape +localmap +reltime +windows
+dialog_con_gui +lua/dyn +rightleft +writebackup
+diff +menu +ruby/dyn +X11
+digraphs +mksession +scrollbind -xfontset
+dnd +modify_fname +signs +xim
-ebcdic +mouse +smartindent -xpm
+emacs_tags +mouseshape +startuptime +xsmp_interact
+eval +mouse_dec +statusline +xterm_clipboard
+ex_extra +mouse_gpm -sun_workshop -xterm_save
+extra_search -mouse_jsbterm +syntax
+farsi +mouse_netterm +tag_binary
system vimrc file: "/etc/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
system gvimrc file: "/etc/gvimrc"
user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
defaults file: "$VIMRUNTIME/defaults.vim"
system menu file: "$VIMRUNTIME/menu.vim"
fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -L. -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,-rpath,/usr/lib/perl5/core_perl/CORE -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/local/lib -Wl,--as-needed -o vim -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lSM -lICE -lXt -lX11 -lXdmcp -lSM -lICE -lm -lncurses -lelf -lnsl -lacl -lattr -lgpm -ldl -Wl,-E -Wl,-rpath,/usr/lib/perl5/core_perl/CORE -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector-strong -L/usr/local/lib -L/usr/lib/perl5/core_perl/CORE -lperl -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc -L/usr/lib -ltclstub8.6 -ldl -lz -lpthread -lieee -lm
The install script logic duplicate the git-submodule functionality. This is unnecessarily complicated.
Automate cscope
and ctags
tag generation. I.e. tag database shall be automatically updated, requiring no user interaction, after making modifications to files that have been already parsed. You will want to have up-to-date tags after you, for example, add/remove/rename some function in a code.
What if we want to add new files in the project? We could:
This may require us to maintain the list of all files per project basis.
in order to run vim whit this i need to always use:
vim -u /opt/yavide/.vimrc
and this gives a lot of errors
╰─$ vim -u /opt/yavide/.vimrc
Error detected while processing /opt/yavide/.vimrc:
line 10:
E697: Missing end of List ']':
E15: Invalid expression: [
line 11:
E10: \ should be followed by /, ? or &
line 12:
E10: \ should be followed by /, ? or &
line 13:
E10: \ should be followed by /, ? or &
line 14:
E10: \ should be followed by /, ? or &
line 15:
E10: \ should be followed by /, ? or &
line 16:
E10: \ should be followed by /, ? or &
line 17:
E10: \ should be followed by /, ? or &
line 18:
E10: \ should be followed by /, ? or &
line 19:
E10: \ should be followed by /, ? or &
line 21:
E121: Undefined variable: g:yavide_configuration_files
E15: Invalid expression: g:yavide_configuration_files
Error detected while processing /home/kurazsi/.vim/plugin/clang_complete.vim:
line 246:
E15: Invalid expression:
E15: Invalid expression: {
line 247:
E10: \ should be followed by /, ? or &
line 248:
E10: \ should be followed by /, ? or &
line 249:
E10: \ should be followed by /, ? or &
line 250:
E10: \ should be followed by /, ? or &
line 251:
E10: \ should be followed by /, ? or &
line 252:
E10: \ should be followed by /, ? or &
line 253:
E10: \ should be followed by /, ? or &
line 254:
E10: \ should be followed by /, ? or &
line 255:
E10: \ should be followed by /, ? or &
line 256:
E10: \ should be followed by /, ? or &
line 257:
E10: \ should be followed by /, ? or &
line 258:
E10: \ should be followed by /, ? or &
line 259:
E10: \ should be followed by /, ? or &
line 260:
E10: \ should be followed by /, ? or &
line 261:
E10: \ should be followed by /, ? or &
line 262:
E10: \ should be followed by /, ? or &
line 263:
E10: \ should be followed by /, ? or &
line 266:
E121: Undefined variable: s:flagInfo
E116: Invalid arguments for function values(s:flagInfo)
E15: Invalid expression: values(s:flagInfo)
Press ENTER or type command to continue
after i fix the above....
i get this:
╰─$ vim -u /opt/yavide/.vimrc
Error detected while processing /opt/yavide/core/.core.vimrc:
line 18:
E117: Unknown function: pathogen#infect
E15: Invalid expression: pathogen#infect(g:YAVIDE_ROOT_DIRECTORY . '/' . '{}',g:YAVIDE_ROOT_DIRECTORY . '/' . 'colors' . '/' . '{}',g:YAVIDE_ROOT_DIRECTORY . '/' . 'config' . '/' . '{}',g:YAVIDE_ROOT_DIRECTORY . '/' . 'core' . '/' . '{}',g:YAVIDE_ROOT_DIRECTORY . '/' . 'core' . '/' . 'common' . '/' . '{}',g:YAVIDE_ROOT_DIRECTORY . '/' . 'core' . '/' . 'external' . '/' . '{}',g:YAVIDE_ROOT_DIRECTORY . '/' . 'core' . '/' . 'indexer' . '/' . '{}',g:YAVIDE_ROOT_DIRECTORY . '/' . 'core' . '/' . 'ui' . '/' . '{}')
Error detected while processing /opt/yavide/core/.editor.vimrc:
line 38:
E185: Cannot find color scheme 'wombat256'
Press ENTER or type command to continue
leading me to the conclusion that this project is broken...
To improve Vim buffer switching workflow it would be nice to have the quickfix
buffer being skipped during the buffer traversal.
Cmake has released its latest version
https://blog.kitware.com/cmake-3-7-0-available-for-download/
of particular interest:
A new "cmake-server(7)" mode was added to provide semantic
information about a CMake-generated buildsystem to clients through a
JSON protocol.
So far server-mode basically produces data on the project structure.
But server-mode is supposed to get new functionality, some of which will require interactions between the caller and CMake (e.g. syntax highlighting and debugging the build system).
This could be very useful for this project. In particular, all debugging tools that will be undoubtably integrated with this.
I will start looking at how to integrate it. Any ideas?
thanks
Guy
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.