Coder Social home page Coder Social logo

scvim's Introduction

...

scvim's People

Contributors

capocasa avatar dathinaios avatar davidgranstrom avatar elatomo avatar gusano avatar lpil avatar sbl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

scvim's Issues

visual code block while executing?

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!

SCVim.sc gives error: Primitive '_FileWrite' failed

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

tag completion does not work

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?

SClangStart doesn't fire-up any terminal

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

Colaborate in SuperCollider scvim repo?

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?

  • you might like the idea ;) (or not :( )
  • issues could be collected in a more centralized manner
  • number of gatekeepers would be reduced for contributions to reach SC
  • as far as I see yours and SC scvim are not linked as forks atm... that makes moving code between the repos more difficult than required.

We could add you as collaborator to the scvim Repo in the supercollider organisation, which would give you write access...

supercollider.vim sets tab settings

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?

scvim (linux) breaking with sc 3.6.5

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.

SCfindArgs() references the wrong method

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.