Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

general support for any language/text? #26

Closed
dtenenba opened this issue Feb 10, 2016 · 2 comments
Closed

general support for any language/text? #26

dtenenba opened this issue Feb 10, 2016 · 2 comments

Comments

@dtenenba
Copy link

While I do develop in R, I also develop in other languages.
Sending text from atom to the terminal (or other user-designated app) is very useful in general, not only with R. Sublime Text has SendText a general-purpose plugin for sending any kind of text to the terminal.

Is there any reason why atom-r-exec could not be used with any language (or even plain text)? If so I would suggest the name and documentation change to reflect its general purpose nature.

Also perhaps some features could be generalized, for example the "advancing past comments" could take into account the different comment symbols in different languages.

@pimentel
Copy link
Owner

thanks for the suggestion, @dtenenba

I have definitely considered it. one thing that has kept me from doing this is that I particularly like having the language specific niceties such as sending functions and knitr blocks.

It is certainly possible to generalize some of those things, but it starts getting complicated if you want to support many different languages. We could certainly factor out just the simple cmd-return stuff, but it would take considerable effort to factor out and generalize the other stuff.

one possibility is to factor out the simple stuff like cmd-return to a basic package that has simple functionality and then make language specific plug-ins. ideally, I would like to do that in the future. realistically though, I don't really have the time right now. I would be willing to help someone if they are interested in doing the heavy lifting though.

@pimentel
Copy link
Owner

moving conversation to #33 and closing this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants