8000 Extract base scaladoc functionality for the IDE. by vigdorchik · Pull Request #1722 · scala/scala · GitHub
[go: up one dir, main page]

Skip to content

Extract base scaladoc functionality for the IDE. #1722

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

Merged
merged 1 commit into from
Dec 12, 2012
Merged

Extract base scaladoc functionality for the IDE. #1722

merged 1 commit into from
Dec 12, 2012

Conversation

vigdorchik
Copy link
Contributor

Review by @VladUreche.

@scala-jenkins
Copy link

Started jenkins job pr-rangepos at https://scala-webapps.epfl.ch/jenkins/job/pr-rangepos/1094/

@scala-jenkins
Copy link

jenkins job pr-rangepos: Success - https://scala-webapps.epfl.ch/jenkins/job/pr-rangepos/1094/

@scala-jenkins
Copy link

Started jenkins job pr-scala-testsuite-linux-opt at https://scala-webapps.epfl.ch/jenkins/job/pr-scala-testsuite-linux-opt/1804/

@scala-jenkins
Copy link

jenkins job pr-scala-testsuite-linux-opt: Success - https://scala-webapps.epfl.ch/jenkins/job/pr-scala-testsuite-linux-opt/1804/

@vigdorchik
Copy link
Contributor Author

Review by @dragos for presentation compiler changes.

@scala-jenkins
Copy link

Started jenkins job pr-rangepos at https://scala-webapps.epfl.ch/jenkins/job/pr-rangepos/1101/

@scala-jenkins
Copy link

jenkins job pr-rangepos: Success - https://scala-webapps.epfl.ch/jenkins/job/pr-rangepos/1101/

@scala-jenkins
Copy link

Started jenkins job pr-scala-testsuite-linux-opt at https://scala-webapps.epfl.ch/jenkins/job/pr-scala-testsuite-linux-opt/1811/

@scala-jenkins
Copy link

jenkins job pr-scala-testsuite-linux-opt: Success - https://scala-webapps.epfl.ch/jenkins/job/pr-scala-testsuite-linux-opt/1811/

@@ -74,6 +74,7 @@ class Global(settings: Settings, _reporter: Reporter, projectName: String = "")
if (verboseIDE) println("[%s][%s]".format(projectName, msg))
override def forInteractive = true
override def forScaladoc = keepDocComments
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we maybe do it the other way around? Make keepDocComments true when forScaladoc is set? I think the entire thing needs a bit of cleanup: we have keepDocComments and forScaladoc in Global and isScaladoc in ScalaSettings. A bit too many ways to achieve the same thing for my tastes...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done removed keepDocComments.

@VladUreche
Copy link
Contributor

LGTM, except for two comments I added -- you can address them later, but please don't forget about them.
Thanks Eugene!

@VladUreche
Copy link
Contrib 8000 utor

Actually it would be good to address the keepDocComments/forScaladoc/isScaladoc before we merge the change, so we keep the same binary interface when instantiating Global from external projects. (sbt compiles its own binary interface, but others projects might assume the Global constructor is set in stone)

@adriaanm
Copy link
Contributor

ping @dragos

@dragos
Copy link
Contributor
dragos commented Dec 11, 2012

LGTM on my side too! Thanks Eugene!

@adriaanm
Copy link
Contributor

PLS REBUILD ALL

@scala-jenkins
Copy link

Started jenkins job pr-rangepos at https://scala-webapps.epfl.ch/jenkins/job/pr-rangepos/1144/

@scala-jenkins
Copy link

jenkins job pr-rangepos: Success - https://scala-webapps.epfl.ch/jenkins/job/pr-rangepos/1144/

@scala-jenkins
Copy link

Started jenkins job pr-scala-testsuite-linux-opt at https://scala-webapps.epfl.ch/jenkins/job/pr-scala-testsuite-linux-opt/1859/

@scala-jenkins
Copy link

jenkins job pr-scala-testsuite-linux-opt: Success - https://scala-webapps.epfl.ch/jenkins/job/pr-scala-testsuite-linux-opt/1859/

protected val compilerReporter: CompilerReporter = new InteractiveReporter {
override def compiler = PresentationCompilerInstance.this.compiler
}
protected val projectName = ""
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where is this overridden?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On Wed, Dec 12, 2012 at 3:30 AM, Adriaan Moors notifications@github.comwrote:

In
src/compiler/scala/tools/nsc/interactive/tests/core/PresentationCompilerInstance.scala:

protected val compilerReporter: CompilerReporter = new InteractiveReporter {
override def compiler = PresentationCompilerInstance.this.compiler
}

  • protected val projectName = ""

where is this overridden?

Leftover. Will remove.


Reply to this email directly or view it on GitHubhttps://github.com//pull/1722/files#r2386688.

@vigdorchik
Copy link
Contributor Author

PLS REBUILD ALL

@scala-jenkins
Copy link

Started jenkins job pr-scala-testsuite-linux-opt at https://scala-webapps.epfl.ch/jenkins/job/pr-scala-testsuite-linux-opt/1864/

@scala-jenkins
Copy link

jenkins job pr-scala-testsuite-linux-opt: Success - https://scala-webapps.epfl.ch/jenkins/job/pr-scala-testsuite-linux-opt/1864/

@scala-jenkins
Copy link

Started jenkins job pr-rangepos at https://scala-webapps.epfl.ch/jenkins/job/pr-rangepos/1149/

@scala-jenkins
Copy link

jenkins job pr-rangepos: Success - https://scala-webapps.epfl.ch/jenkins/job/pr-rangepos/1149/

@VladUreche
Copy link
Contributor

LRGTM (Looks Really Good to me)
Thanks for addressing all the feedback Eugene!

adriaanm added a commit that referenced this pull request Dec 12, 2012
Extract base scaladoc functionality for the IDE.
@adriaanm adriaanm merged commit a6f10cf into scala:2.10.x Dec 12, 2012
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

Successfully merging this pull request may close these issues.

5 participants
0