...
sbl / scvim Goto Github PK
View Code? Open in Web Editor NEWvim plugin for supercollider
vim plugin for supercollider
...
The sclang and ruby scripts hang around endlessly...
It is not an issue, it rather suggestion or question:
I use ScVim quite often now even for live-coding performances, I was wondering if there is a chance to get the blocks of code highlighted while being executed (as in ScIde for instance)?
Maybe more Vim question…
whatever, any ideas or suggestions?
thx!
Hiya!
So, commandline commands work, so I can pop open a new terminal with :SclangStart
, recompile it with :SClangRecompile
, and kill it with :SClangRecompile
; However, non of the non-commandline commands don't seem to do anything.
Is the guide outdated?
Thanks,
Louis
Hi there-
I'm trying to get started using SC with scvim. I've symlinked SCVim.sc and when I start the OS X SuperCollider app (not vim) the text below is in the Post window.
I'm really hoping to get this all working, thanks for getting this project up again.
best,
dibson
init_OSC
empty
compiling class library...
NumPrimitives = 686
compiling dir: '/Applications/SuperCollider/SuperCollider.app/Contents/Resources/SCClassLibrary'
compiling dir: '/Users/my_user/Library/Application Support/SuperCollider/Extensions'
Open ended symbol ... started on line 200 in file '/Users/my_user/Library/Application Support/SuperCollider/Extensions/SCVim.sc'
pass 1 done
numentries = 785070 / 10938366 = 0.072
5013 method selectors, 2182 classes
method table size 11805432 bytes, big table size 87506928
Number of Symbols 11409
Byte Code Size 358784
compiled 327 files in 0.66 seconds
compile done
Help tree read from cache in 0.002198593 seconds
Class tree inited in 0.02 seconds
ERROR: Primitive '_FileWrite' failed.
Failed.
RECEIVER:
Instance of File { (0x11268d248, gc=80, fmt=00, flg=00, set=02)
instance variables [1]
fileptr : nil
}
CALL STACK:
MethodError:reportError 0x11261b1d8
arg this = <instance of PrimitiveFailedError>
Nil:handleError 0x10ad321d8
arg this = nil
arg error = <instance of PrimitiveFailedError>
Thread:handleError 0x1125d8098
arg this = <instance of Thread>
arg error = <instance of PrimitiveFailedError>
Object:throw 0x112554ff8
arg this = <instance of PrimitiveFailedError>
Object:primitiveFailed 0x1125d46d8
arg this = <instance of File>
< closed FunctionDef > 0x1127100d8
var classList = [*2181]
var file = <instance of File>
var hugeString = "syn keyword scObject PlusFre..."
Function:doOnStartUp 0x112710658
arg this = <instance of Function>
ArrayedCollection:do 0x10ad8ce58
arg this = [*8]
arg function = <instance of Function>
var i = 7
List:do 0x10ad8cf78
arg this = <instance of List>
arg function = <instance of Function>
Meta_StartUp:run 0x10ad8d448
arg this = <instance of Meta_StartUp>
Main:startup 0x10ad14508
arg this = <instance of Main>
var didWarnOverwrite = false
^^ The preceding error dump is for ERROR: Primitive '_FileWrite' failed.
Failed.
RECEIVER: a File
SCDoc: Indexing help-files...
SCDoc: Indexing old helpfiles...
Help files scanned in 0.046980196 seconds
SCDoc: Indexed 1307 documents in 0.92 seconds
When I try to use tag completion, it fails and I get this error message
E432: Tags file not sorted: /Users/peter/.sctags
Any suggestions how I can get completion work?
Dear ScVim devs,
I am somewhat desperate to find that any variation of screen, tmux, terminator, x-terminal-emulator, nor xterm doesn't show up with sclang running when SClangStart is fired whitin Vim.
My setup is Vim 8.0 (fresh master compile [up-to date]), Supercollider (fresh to date master compiled), scvim (recent bundled submodule [neither this repo {the very same?}])
Until recently I was running scvim by scvim
wrapper + tmux, and it worked just fine, not sure where I am doing such dumb mistake, bit desperate now.
my current .vimrc contains:
let g:sclangPipeApp = "~/.vim/bundle/scvim/bin/start_pipe"
let g:sclangDispatcher = "~/.vim/bundle/scvim/bin/sc_dispatcher"
let g:sclangTerm = "terminator -e"
and .scvimrc file placed in home folder is very default
I am running
Linux 4.3.0-1-amd64 #1 SMP Debian 4.3.3-5 (2016-01-04) x86_64 GNU/Linux
Thanks for any clue.
kof
Hi @sbl,
thank you for your contributions to scvim with SuperCollider. I was wondering if you might be willing to work in the scvim repo within the SuperCollider organization?
We could add you as collaborator to the scvim Repo in the supercollider organisation, which would give you write access...
I was having a few issues with tabs/whitespaces and run the following to locate the problem:
:verbose set expandtab?
It seems that supercollider.vim includes this line:
au FileType supercollider setlocal shiftwidth=2 tabstop=2 noexpandtab
Shouldn't these things be left for the user to define in his .vimrc?
I'm attempting to use scvim with supercollider 3.6.5 on arch linux, however when I try to execute a block it is interpreted by supercollider as individual lines, which doesn't parse. Supercollider is running fine with scide, but I use vim day to day so this plugin is preferential.
Hiho,
I still see people mentioning this repo so it might be a good idea to add a note in the README pointing to https://github.com/supercollider/scvim.
Thoughts?
When my cursor is where it is below:
EnvGen.kr(Env.perc(0, [CURSOR]1), gate, doneAction: 2) * ...
And I run :call SCfindArgs()
, it gives me this:
-> EnvGen *kr (envelope: nil, gate: 1, levelScale: 1, levelBias: 0, timeScale: 1, doneAction: 0)
Really, though, I want the args for Env *perc
, not EnvGen *kr
.
It looks as though it's just grabbing the first method of the given line of the text file. Unfortunately this means that using method highlighting enforces a particular way of formatting code.
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.