rsense's People
Forkers
ilkka ujihisa frostbittenking scottaj cohama uskanda edubkendo sobolsigizmund jreidthompson vijayelurirsense's Issues
Wrong type argument: integer or marker-p: remove until
I have rsense set up with emacs. I have followed the installation and setup procedures very carefully.
I'm on
Ubuntu 12.04
ruby 1.9.3p327
I have also tried it with
jruby 1.7.2 (1.9.3p327) 2013-01-04 302c706 on Java HotSpot(TM) 64-Bit Server VM 1.8.0-ea-b72 +indy [linux-amd64]
When I try, even the example from the screenshot on rsense's homepage:
File.open("foo.txt") {|f|
f.each {|line|
line.
}
}
when I try to get completions from that .
I get the error:
Wrong type arguement: integer-or-marker-p, :remove-until
Other attempts to complete a method get the same result. I really want to get this working, and ultimately would like to make a plugin to get it to work with sublime-text, but can't seem to get anywhere. Thanks.
Rsense wont work if there is a colon in the buffer
Rsense wont work on emacs 24.3 if there is a :
character in the buffer.
For example,
class A
def method1
end
end
works fine, but if I change it to:
class A : Object
def method1
end
end
rsense ceases to complete anything. This is completely hindering my use of rsense.
one small error in rsense.el
"Debugger entered--Lisp error: (void-function defun_) (defun_ rsense-buffer-command ) "this is what i see when i start emaces with debugger-ini
i guess it should be (defun rsense-buffer-command) ,am i right?
Faulty/Quirky? completion with methods starting with "p".
Hi, I'm using rsense in combination with auto-complete and some other stuff(yas, etc). It works pretty well, except, see title.
Little example:
'a'.a: menu pops up with all kind of stuff from ac-complete (the rsense stuff pops in after 2 or the chars - the ac-sources order is not as I want it, but that's a different issue), ..
'a'.a shows (after deleting the 2 chars added as mentioned before): all? and any?. So more or less perfekt.
When I type 'a'. (as before ...all methods, variables stuff pops up), incl. 4 methods starting with p, as soon as I write p eg: 'a'.p, the completion popup menu disappears, like there were no methods starting with p. The methods starting with p only popup when "I force it down rsense's/auto-complete's throat" - in other words, when I explicitly invoke ac-complete-rsense. This really makes no sense to me why it only doesn't work with methods starting with "p".
Since I don't know if it is a problem with rsense or autocomplete, I randomly picked rsense as the culprit ;). Hope, you can help. If you need to, I could zip and upload my emacs config somewhere (it's quite complex), and the installation from zero (I pushed it to my github repo) is not that easy yet. If I zip it as I use it at the moment, it should work as is on your system.
Can't read from socket on Linux
With ruby 1.8.7 on Ubuntu Karmic, I run "bin/rsense version". It starts the webrick daemon, or at least appears to, because although it drops me back to the command line with no version string, as I would expect, I can see the process is still running in the background:
โ rsense git:(master) โ ps -ef | grep ruby
me 4964 1 0 16:24 ? 00:00:00 ruby bin/rsense version
If I now run "rsense version" again, it gets hung up trying to read from the socket, on the line:
while l = sock.gets
Any ideas what I should do?
"jruby bin\rsense server" causes exception
OS: Windows 7 64bit
Ruby: jruby 1.6.0
Rsense: 0.3
When I start rsense server with jruby and command
jruby bin/rsense help
I get an error below
Exception: not opened for reading
org/jruby/RubyIO.java:1339:in `write'
bin\rsense:150:in `server_process'
bin\rsense:136:in `server_process'
org/jruby/RubyKernel.java:1417:in `loop'
bin\rsense:135:in `__ensure__'
bin\rsense:132:in `server_process'
org/jruby/ext/socket/RubyTCPServer.java:270:in `open'
bin\rsense:87:in `open_server'
bin\rsense:131:in `server_process'
bin\rsense:107:in `server_process'
bin\rsense:213:in `exec_command'
bin\rsense:290:in `process'
bin\rsense:299:in `(root)'
So. I comment out line 148 of "bin\rsense"
#sock.close_read
it woks fine for me.
rsense server can not work with plugin vim-rsense and neocomplcache context filetypes feature.
mentioned plugins links:
- vim-rsense
- neocomplcache
- My improved function in "vim-rsense" which compatiable with neocomplcache.
I have discussed with @shougou in this issue
We tried to change code to let plugin vim-rsense work with neocomplcache context filetype feature. But after we changed a lot, and other things are correct now (I think so). I think maybe this is rsense server issue. So I post here.
error: superclass not found: ApplicationController (I am probably doing something wrong)
I am probably doing something wrong. But i get this error and it feels like rsense doesn't see the rails source.
I start resense with
java -cp '.:/Users/darwin/.redcar/plugins/rsense/vendor/rsense-0.3/lib/rsense.jar:/Users/darwin/.redcar/plugins/rsense/vendor/rsense-0.3/lib/antlr-runtime-3.2.jar:/Users/darwin/.redcar/plugins/rsense/vendor/rsense-0.3/lib/jruby.jar' org.cx4a.rsense.Main script '--home=/Users/darwin/.redcar/plugins/rsense/vendor/rsense-0.3' --no-prompt --end-mark=END --progress=1
and then run the commands
open-project '/Users/darwin/dev/gallery/'
code-completion '--file=/Users/darwin/dev/gallery/app/controllers/application_controller.rb' '--location=18:5'
At (--location=18:5) i have "Time." so i get a nice list of methods but i also get "error: superclass not found: ApplicationController" witch makes be believe that i am doing something wrong.
Extra info:
'/Users/darwin/dev/gallery/' does not contain any config file for (.rsense).
Rsense not working with Rinari
I grabbed setup for Emacs from here, and while Rsense is working like a charm in "plain" ruby-mode
buffers, it's not working in rinari buffers whatsoever. One would expect that it's nxhtml bug or smth, but it doesn't work in .rb
either.
Any ideas what may have caused this behaviour?
Main.java 724 when printing environment prints loadPath instead of gemPath
Hello, was trying to get an environment setup and noticed loadPath is printed instead of gemPath. My little 5 cents to make it a little better ...
Regards Boy
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.