After updating to Ubuntu 15.10 auto-complete in Latexila and Geany (with latex plugin only) doesn't show completion suggestions. I've also tried other latex editor with the same result.
Note that Geany shows auto-completion correctly with other programming language. Also I'm using GTK+ and Xfce environment.
Does anyone have any idea on what's causing this?
Thanks in advance
make sure you have this in .bashrc
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
. /etc/bash_completion
fi
Related
I've started using nvim (neovim) recently. It generally works well, but when I run vimdiff, I noticed that I got the startup errors I got when I ran regular vim. I've fixed those so that both vim and nvim run without errors on my system, so vimdiff works fine now. But it makes me wonder: is there a neovim version of vimdiff? Or should I just maintain both vim and neovim so that regular vim works fine for vimdiff?
Yeah, you can use the -d option to open nvim in diff mode.
I noticed a question about this was posted on redit: https://www.reddit.com/r/neovim/comments/6rvsa2/nvimdiff/
The dialog there confirms that there is no corresponding nvimdiff that is shipped. The solution suggested there is to add an alias in your bashrc file:
alias vimdiff='nvim -d'
I'll do this.
I am trying to use plantuml add-ons on VSCode: there are several but none of them is working.
In this eample I am using the plantUML add-on.
As you can see on the second image the preview is blank.
Can you help me ?
I had the same issue. My preview started working right after I installed the Java Runtime Environment (JRE).
the solution is:
You can open the diagram by hitting ALT + D to preview the PlantUML diagram on Windows and Option key + D on Mac.
Download Java Runtime . Click "Instructions"
Install graphviz
sudo apt update
sudo apt install graphviz
Enjoy
On windows, you can now use chocolatey:
choco install plantuml
You then have to restart VsCode for the previewer to properly work.
I am doing this on macOS.
I am trying to get Julia set up in Visual Studio Code. When I start typing in Python or C for instance, the IntelliSense just works without hassle. I just downloaded Julia to start learning, but I can't get the IntelliSense working. Here are the steps that I have taken so far:
Downloaded Julia
Installed JuliaLang Extension for VSC
Set it up in the terminal and tested it by running their Mandelbrot.jl file
Ran the following command: rm -f /usr/local/bin/julia sudo ln -s /Applications/Julia-1.6.app/Contents/Resources/julia/bin/julia /usr/local/bin/julia
Opened up the settings.json and entered this in: "julia.executablePath": "/Applications/Julia-1.6.app"
I am wondering if my path is correct or has anything to do with the IntelliSense problem. Any help would be appreciated. Thank you!
As per the settings description, please set julia.executablePath instead of julia.environmentPath. The latter setting can be ignored except for fairly special circumstances.
I am trying to create a markdown document in Emacs *.
It does highlight the syntax etc. and goes into Markdown mode (I am not quite sure if I installed that package or if it is standard issue)..
Problem:
When I try to create a preview (either via C-c C-c p or the GUI), it returns this error code:
markdown failed with exit code 127
Question
What does this error tell me? Is there a way to get a more complete error message?
The docs for markdown-mode suggest that it calls on an external library such as pandoc, which I have installed. According to these SO questions, pandoc can return this error code, but I could not quite establish what it means.
How do I fix this / what documentation should I go to?
I am pretty new to Emacs, so anything will help. Thanks!
*Emacs version 25.3.1 on a Mac (Sierra 10.12.6)
The simplest fix is likely to install the markdown package using your package manager.
I fixed this error for myself with:
$ brew install markdown
(on MacOS Mojave, at the bash command line). Brew installed the "bottle" markdown-1.0.1.mojave.bottle.tar.gz, after which C-c C-c p or M-x markdown-preview worked to export the markdown file and open a browser window showing the exported file.
On an Ubuntu 19 (and now 20.04 and 21.10) system, sudo apt install markdown worked too.
You could do the same thing with a symlink to pandoc's markdown, but a) this just worked, b) there's no fiddling with a potentially messed up manually created symlink, and c) it's tiny (a 36 KByte executable). Pandoc's markdown may support more "modern" markdown, though.
vim a.py
input:
impo
then press: Cx Co
omin autocomplete just failed with the following message, why?
Error: Required vim compiled with +python E117: Unknown function: pythoncomplete#Complete
Press ENTER or type command to continue
vim --version | grep python
-python +quickfix +reltime -rightleft -ruby +scrollbind -signs +smartindent
this issue is not the same as Getting Omni complete to work on vim 7.2 on windows, since i use vim on linux, not windows.
Edit 1:
i can use omni autocomplete on another host now, but i canont autocomplete for urlopen, why?
from urllib import url
press CxCo, then the error message appears:
-- Omni completion (^O^N^P) Pattern not found
Edit 2
don't know why omni not works again, confusing...
vim was compiled without python support. You can tell because vim --version outputs -python instead of +python.
The reason is spelled out for you: Vim is not compiled with Python support, and the solution is to install a proper build.
Supposing you are on Ubuntu or another Debian derivative, you probably only need to do:
$ sudo apt-get install vim-gnome
If you are working on a headless server via SSH, replace vim-gnome by vim-nox.