isamert / gracer Goto Github PK
View Code? Open in Web Editor NEWa rust code completion plugin for gedit
License: GNU General Public License v3.0
a rust code completion plugin for gedit
License: GNU General Public License v3.0
It's part of the instructions for installing racer, so people should have it set automatically. Maybe pull in this environment variable if it exists and auto-populate the rust source textfield? It'd be nice if I could just have one setting for this repo and it'd propagate to racer and gracer.
Anytime I open a rust file the following error is printed to the console:
Traceback (most recent call last):
File "/home/manuel/.local/share/gedit/plugins/gracer/gracer.py", line 237, in do_match
_, iter = context.get_iter()
TypeError: 'TextIter' object is not iterable
I have installed gracer as suggested via git pull into this directory. My system:
Any thoughts?
Part of the installation process for racer is to add ~/.cargo/bin
to your path. Now maybe not everyone does that, but if they did racer can just be run without the executable needing to be manually specified. With this and issue #3, gracer is automatically configured as soon as racer is installed.
Thank you for making this, I like it!
A minor downside is that I see some noticeable lag at each keystroke when typing, especially if my CPU cores are busy (even though I’m running Cargo under nice
).
Do you know if gedit’s UI is blocked while racer is running? If so, making things asynchronous would maybe reduce the perception of lag.
Or do you have other ideas for what could make things faster? Maybe having a long-running racer process rather than spawning a new one for every keystroke?
This shortens the installation process to:
$ mkdir ~/.local/share/gedit/plugins
$ git clone https://github.com/isamert/gracer.git
And then updating gracer in the future is just
$ cd ~/.local/share/gedit/plugins/gracer
$ git update
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.