Skip to content
This repository was archived by the owner on Jun 14, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,20 @@ You can use the built-in sbt shell in IntelliJ without any problems. However, th

Additionally, you might have to run `sbt buildInfo` if you encounter an error like `object BuildInfo is not a member of package com.microsoft.hyperspace` for the first build.

To debug with the sbt shell in IntelliJ, run `set Test/fork := false` in the sbt shell so that the debugger attached to the sbt shell can work. Without this, breakpoints won't work.
Copy link
Collaborator

Choose a reason for hiding this comment

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

It would be good to add a new md file for "Using IntelliJ" as this is for the front page. WDYT?

Copy link
Author

Choose a reason for hiding this comment

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

I think that's better. Thanks!


For a better IntelliJ and other IDE-like environment (e.g., coc.nvim) experience, try replacing symbolic links with hard links if you are in macOS or Linux.

```sh
$ rm spark3.1/src
$ mkdir spark3.1/src
$ git update-index --assume-unchanged spark3.1/src
$ sudo mount localhost:<absolute path to hyperspace repo>/src spark3.1/src # macOS (NFS required)
$ mount --bind src spark3.1/src # Linux
```

With this setup, just be cautious when you do Git operations in the repository. For example, `git checkout --` will wipe out every file in `src` because Git doesn't know that essentially you've made hard links. If you want to reset source files, do `git checkout -- src` instead.

## Inspiration and Special Thanks

This project would not have been possible without the outstanding work from the following communities:
Expand Down