-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix #2180: Docs update #2422
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
Fix #2180: Docs update #2422
Changes from 1 commit
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
6e46455
Update IDEA and talks
biboudis 796222c
Improve Eclipse documentation, workflow and testing
biboudis 6f04a90
Improve Eclipse/IDEA pages
biboudis f769faa
Update sidebar
biboudis 2024307
Add some minor stylistic aspects
biboudis 36d96f8
Make sbt eclipse command clearer
biboudis 0acf3ba
Adjust command prompts and improve description of testOnly syntax
biboudis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
layout: doc-page | ||
title: Talks | ||
--- | ||
|
||
Talks on Dotty | ||
-------------- | ||
- (ScalaDays 2016, Berlin) [Scala's Road Ahead](https://www.youtube.com/watch?v=GHzWqJKFCk4) by Martin Odersky [\[slides\]](http://www.slideshare.net/Odersky/scala-days-nyc-2016) | ||
- (JVMLS 2015) [Compilers are Databases](https://www.youtube.com/watch?v=WxyyJyB_Ssc) by Martin Odersky [\[slides\]](http://www.slideshare.net/Odersky/compilers-are-databases) | ||
|
||
Deep Dive with Dotty | ||
-------------------- | ||
- (Mar 21, 2017) [Dotty Internals 1: Trees & Symbols](https://www.youtube.com/watch?v=yYd-zuDd3S8) by Dmitry Petrashko. | ||
This is a recorded meeting between EPFL and Waterloo, where we introduce first notions inside Dotty: Trees and Symbols. | ||
|
||
- (Typelevel Summit Oslo, May 2016) [Dotty and types: the story so far](https://www.youtube.com/watch?v=YIQjfCKDR5A) by | ||
Guillaume Martres [\[slides\]](http://guillaume.martres.me/talks/typelevel-summit-oslo/). | ||
Guillaume focused on some of the practical improvements to the type system that Dotty makes, like the new type parameter | ||
inference algorithm that reasone about the type safety of more situations. | ||
|
||
- (flatMap(Oslo) 2016) [AutoSpecialization in Dotty](https://vimeo.com/165928176) by Dmitry Petrashko | ||
[\[slides\]](https://d-d.me/talks/flatmap2016/#/). The Dotty Linker analyses your program and its dependencies to | ||
apply a new specialization scheme. It builds on our experience from Specialization, Miniboxing and the Valhalla Project, | ||
and drastically reduces the size of the emitted bytecode. And, best of all, it's always enabled, happens behind the | ||
scenes without annotations, and results in speedups in excess of 20x. Additionally, it "just works" on Scala collections. | ||
|
||
- (ScalaSphere 2016) [Hacking on Dotty: A live demo](https://www.youtube.com/watch?v=0OOYGeZLHs4) by Guillaume Martres | ||
[\[slides\]](http://guillaume.martres.me/talks/dotty-live-demo/) Guillaume hacks on Dotty: a live demo during which he | ||
creates a simple compiler phase to trace method calls at run-time. | ||
|
||
- (Scala By the Bay 2016) [Dotty: what is it and how it works](https://www.youtube.com/watch?v=wCFbYu7xEJA) by Guillaume | ||
Martres [\[slides\]](http://guillaume.martres.me/talks/dotty-tutorial/#/) Guillaume provides a high-level view of the | ||
compilation-pipeline of Dotty. | ||
|
||
- (Scala World 2015) [Dotty: Exploring the future of Scala](https://www.youtube.com/watch?v=aftdOFuVU1o) | ||
Dmitry Petrashko [\[slides\]](https://d-d.me/scalaworld2015/#/) covers many of the new features that Dotty brings on the | ||
table such as Intersection and Union types, improved lazy val initialization and more. | ||
Dmitry also covers dotty internals and in particular the high-level of contextual abstractions of Dotty. You will get to | ||
become familiar with many core concepts such as `Denotations`, their evolution through (compilation) time, their | ||
transformations and more. | ||
|
||
- (ScalaDays 2015, Amsterdam) [Making your Scala applications smaller and faster with the Dotty linker](https://www.youtube.com/watch?v=xCeI1ArdXM4) | ||
by Dmitry Petrashko [\[slides\]](https://d-d.me/scaladays2015/#/). Dmitry introduces the call-graph analysis algorithm | ||
that Dotty implements and the performance benefits we can get in terms of number of methods, bytecode size, JVM code size | ||
and the number of objects allocated in the end. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
layout: doc-page | ||
title: Building Dotty with Intellij IDEA | ||
--- | ||
|
||
Dotty compiler support is available in the [Scala plugin nightly] starting from 2.2.39. | ||
You need to install [IDEA 2016.1] to try it. | ||
|
||
## To create a new project with Dotty | ||
|
||
1. Open New Project dialog and select `Scala` > `Dotty` | ||
2. Proceed as usual and don't forget to create or select Dotty SDK. | ||
|
||
## To compile an existing Scala project with Dotty | ||
|
||
1. Create a new Dotty SDK: | ||
`Project Structure` > `Global libraries` > `New Global Library` > `Dotty SDK` | ||
2. Replace Scala SDK with Dotty SDK in: | ||
`Project Structure` > `Modules` > `Dependencies` | ||
|
||
Java 1.8 should be used as the Project/Module SDK. You also need to enable the | ||
Scala Compile Server to use Dotty compiler. | ||
|
||
## Notes | ||
* Dotty support is experimental, many features including code highlighting and | ||
worksheet are not ready yet. | ||
* You can download the latest version of Dotty without creating a new Dotty SDK | ||
with the `Update snapshot` button in the Dotty SDK library settings. | ||
* Please report any problems to the [IntelliJ Scala issue tracker] or write | ||
to the [IntelliJ Scala gitter] | ||
|
||
[Scala plugin nightly]: https://confluence.jetbrains.com/display/SCA/Scala+Plugin+Nightly | ||
[IDEA 2016.1]: https://www.jetbrains.com/idea/nextversion/ | ||
[IntelliJ Scala issue tracker]: https://youtrack.jetbrains.com/issues/SCL | ||
[IntelliJ Scala gitter]: https://gitter.im/JetBrains/intellij-scala |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe explain in more details what line to uncomment?