-
Notifications
You must be signed in to change notification settings - Fork 228
Refined exuberant-ctags extension for Scala #95
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
Conversation
* Refined --regex-scala options to locate tags much more accurately * Added case-objects and packages tag types
Here are some test cases: package emacs.contrib
private[this] abstract class PrivateAbstractClassWithAccessQualifier
abstract private[this] class AbstractPrivateClassWithAccessQualifier
private abstract class PrivateAbstractClass
abstract private class AbstractPrivateClass
sealed protected[contrib] class SealedProtectedClassWithAccessQualifier
protected[contrib] sealed class ProtectedSealedClassWithAccessQualifier
sealed protected class SealedProtectedClassWithAccessQualifier
protected sealed class ProtectedSealedClassWithAccessQualifier
implicit protected[contrib] object ImplicitProtectedObjectWithAccessQualifier
protected[contrib] implicit object ProtectedImplicitObjectWithAccessQualifier
protected case object ProtectedCaseObject
protected case class ProtectedCaseClass
protected[this] val intValWithType: Int = 1
protected[this] val intVal = 1
protected[this] var intVarWithType: Int = 1
protected[this] var intVar = 1
private[this] def unary_+(n: Int): Int
trait Trait
type Type |
Thanks! I'm really sorry we haven't gotten back to you sooner. |
I've signed the Scala CLA. Thanks for your effort! |
Thank you! |
Refined exuberant-ctags extension for Scala
Hi @liancheng, |
Hi @simonrad, would you mind to elaborate how you configured your Exuberant Ctags? And here is a minimized version of my configuration, which works fine under both CentOS 6.4 and Ubuntu 12.04:
With this configuration I can generate proper |
I can't use the newer ctags with ctags 5.8 and vim either. Is taglist-plus required? My ctags file looks exactly like the ctags file in this repository. The original file works when recursively tagging via
when using the newer version of the ctags configuration, no .scala files indexed in the tags file. |
Hey @mhamrah and @simonrad, sorry for not being helpful for such a long time. I wasn't able to reproduce this bug until I got a Mac and hit right the same issue. After some investigation it turned out that |
Nice! On Fri, Jul 11, 2014 at 6:47 PM, Cheng Lian [email protected]
|
Awesome! Thank you. |
Minor: Put StoragePerfTester in org/apache/
… on YARN docs This patch changes "yarn-standalone" to "yarn-cluster" (but still supports the former). It also cleans up the Running on YARN docs and adds a section on how to view logs. Author: Sandy Ryza <[email protected]> Closes scala#95 from sryza/sandy-spark-1197 and squashes the following commits: 563ef3a [Sandy Ryza] Review feedback 6ad06d4 [Sandy Ryza] Change yarn-standalone to yarn-cluster and fix up running on YARN docs
The original ctags extension performs poorly when locating various tags, for example, here are some bad cases:
evaluator
: theval
substring inevaluator
is parsed as the keywordval
and a value tag nameduator
is generated.private[this] class T
: (case) classes/(case) objects/values/variables with access qualifiers are not recognized.notaclass T
: generates a wrong class tagT
The new extension refined all
--regex-scala
options to locate tags much more accurately, and added two new tag types, namelycase-objects
andpackages
.