- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
How do I get changes into the distribution?
Thu, 2011-03-10, 04:14
Hi folks,
I've been working on some changes to the Vim plugins for Scala and it's reached a point where, it may not be perfect, but it's certainly better.
What do I have to do to get these changes into the distribution?
The code is available at http://github.com/ewiplayer/vim-scala if anyone wants to go through them.
Cheers,
Derek
Thu, 2011-03-10, 17:07
#2
Re: How do I get changes into the distribution?
On 10/03/2011 04:14, Derek Wyatt wrote:
> Hi folks,
>
> I've been working on some changes to the Vim plugins for Scala and it's reached a point where, it may not be perfect, but it's certainly better.
>
> What do I have to do to get these changes into the distribution?
>
> The code is available at http://github.com/ewiplayer/vim-scala if anyone wants to go through them.
>
> Cheers,
> Derek
Hi Derek,
We don't have an official maintainer for the Vim plugin, therefore if
you feel you can take this role, that is good news for vim users!
If you are planning to apply further patches in the future, we can
enable write access for your account to the vim SVN subtree. Otherwise I
can just manually copy the stuff from the github repo into our SVN (in
scala-tool-support/trunk/src/vim).
Just let us know. Thanks!
Toni
--
Antonio Cunei
Scala Team, EPFL
Thu, 2011-03-10, 19:17
#3
Re: How do I get changes into the distribution?
On Thu, 10 Mar 2011, Yuvi Masory wrote:
> Are the vim/emacs plugins even part of the standard distribution?
> scala-mode has a separate repo.
I'm using the scala mode in the standard distribution. Should I be using
something else? It's in misc/scala-tools-support/emacs. The dates on the
files are showing as 2010-11-09 in case that proves anything.
Peter
Thu, 2011-03-10, 19:27
#4
Re: How do I get changes into the distribution?
I'm using the scala mode in the standard distribution. Should I be using something else? It's in misc/scala-tools-support/emacs. The dates on the files are showing as 2010-11-09 in case that proves anything.
I think I just got confused because the scala-tool-support repo paths don't have the "misc" part. Probably has something to do with svn directory/branch funniness. I think there's just the one repo after all :)
Yuvi
Thu, 2011-03-10, 19:37
#5
Re: How do I get changes into the distribution?
> On Thu, 10 Mar 2011, Yuvi Masory wrote:
>
>> Are the vim/emacs plugins even part of the standard distribution?
>> scala-mode has a separate repo.
>
> I'm using the scala mode in the standard distribution. Should I be using
> something else? It's in misc/scala-tools-support/emacs. The dates on the
> files are showing as 2010-11-09 in case that proves anything.
Yeah, Scala does ship with vim and emacs plugins. I haven't used emacs
for about 12 years so I can't speak to that one, but I do know that the
vim plugin misses a lot of cases. If you hit 'gg=G' on any given file,
you can be pretty sure that it's going to mess it up beyond recognition.
I'm talking with Antonio off-list about what needs to be done to get my
changes into the source tree.
Alternatively, the vim plugin could just be taken out of the distribution
altogether and people could go to http://www.vim.org to get it. That
would eliminate the confusion. The problem at the moment is that there's
the "official" one being shipped in the scala distribution and it's not
terribly usable.
Tue, 2011-03-15, 18:17
#6
Re: How do I get changes into the distribution?
Hi Derek. I happen to use vim to edit Scala now and then, so I'm interested in this plugin. I agree that it would be better if the plugin was available separate from the scala distribution, for visibility if nothing else. I mean, I like seeing "vim-puppet", "vim-python" or "vim-ruby" in Debian and Ubuntu packages, and it would be nice to see "vim-scala" there as well. It gives a sense of support that is not matched by the present situation of lots of extra being packaged with Scala distribution -- uninstalled! -- without no one the wiser.
That said, what changes should I be looking at with this? And I take it you recommend installing pathogen and then just cloning the repo on ~/.vim/bundle/?
On Thu, Mar 10, 2011 at 00:14, Derek Wyatt <derek@derekwyatt.org> wrote:
--
Daniel C. Sobral
I travel to the future all the time.
That said, what changes should I be looking at with this? And I take it you recommend installing pathogen and then just cloning the repo on ~/.vim/bundle/?
On Thu, Mar 10, 2011 at 00:14, Derek Wyatt <derek@derekwyatt.org> wrote:
Hi folks,
I've been working on some changes to the Vim plugins for Scala and it's reached a point where, it may not be perfect, but it's certainly better.
What do I have to do to get these changes into the distribution?
The code is available at http://github.com/ewiplayer/vim-scala if anyone wants to go through them.
Cheers,
Derek
--
Daniel C. Sobral
I travel to the future all the time.
Tue, 2011-03-15, 21:17
#7
Re: How do I get changes into the distribution?
Yup, use pathogen for sure. Have a look at the repository, but the biggest change is the indent file, which isn't yet perfect (and I don't plan on ever making it so :D) but it works much better than what's snipped with Scala.
I do plan on incremental improvements over time to fix the odd bug here and there but it's decent now. By all means please add fixes if you can.
Hi Derek. I happen to use vim to edit Scala now and then, so I'm interested in this plugin. I agree that it would be better if the plugin was available separate from the scala distribution, for visibility if nothing else. I mean, I like seeing "vim-puppet", "vim-python" or "vim-ruby" in Debian and Ubuntu packages, and it would be nice to see "vim-scala" there as well. It gives a sense of support that is not matched by the present situation of lots of extra being packaged with Scala distribution -- uninstalled! -- without no one the wiser.
That said, what changes should I be looking at with this? And I take it you recommend installing pathogen and then just cloning the repo on ~/.vim/bundle/?
On Thu, Mar 10, 2011 at 00:14, Derek Wyatt <derek@derekwyatt.org> wrote:
--
Daniel C. Sobral
I travel to the future all the time.
I do plan on incremental improvements over time to fix the odd bug here and there but it's decent now. By all means please add fixes if you can.
Entered using opposable digits
From: Daniel Sobral <dcsobral@gmail.com> Sender: scala-tools@googlegroups.com Date: Tue, 15 Mar 2011 14:12:58 -0300To: Derek Wyatt<derek@derekwyatt.org>Cc: <scala-tools@googlegroups.com>Subject: Re: [scala-tools] How do I get changes into the distribution?Hi Derek. I happen to use vim to edit Scala now and then, so I'm interested in this plugin. I agree that it would be better if the plugin was available separate from the scala distribution, for visibility if nothing else. I mean, I like seeing "vim-puppet", "vim-python" or "vim-ruby" in Debian and Ubuntu packages, and it would be nice to see "vim-scala" there as well. It gives a sense of support that is not matched by the present situation of lots of extra being packaged with Scala distribution -- uninstalled! -- without no one the wiser.
That said, what changes should I be looking at with this? And I take it you recommend installing pathogen and then just cloning the repo on ~/.vim/bundle/?
On Thu, Mar 10, 2011 at 00:14, Derek Wyatt <derek@derekwyatt.org> wrote:
Hi folks,
I've been working on some changes to the Vim plugins for Scala and it's reached a point where, it may not be perfect, but it's certainly better.
What do I have to do to get these changes into the distribution?
The code is available at http://github.com/ewiplayer/vim-scala if anyone wants to go through them.
Cheers,
Derek
--
Daniel C. Sobral
I travel to the future all the time.
Are the vim/emacs plugins even part of the standard distribution? scala-mode has a separate repo.
Yuvi
On Wed, Mar 9, 2011 at 10:14 PM, Derek Wyatt <derek@derekwyatt.org> wrote: