Skip to content
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

Add Example Setup for TypeScript #54

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

bkoski
Copy link

@bkoski bkoski commented Jun 27, 2021

Following up on sublimehq/sublime_text#4495, this PR adds a TypeScript "Example Setups" page in the framework introduced in #24.

This is based on what I've learned so far with ST4, so suggestions for improvements and clarifications very much welcome!

It seems it would be best to tidy up #24 and get that merged, then merge this PR following. If that isn't possible, though:

  • I could take a crack at fixing remaining feedback in Add "custom setups" section #24 in this PR, though I'm not an expert in either Julia or remote dev with Sublime (it does seem like publishing is likely more helpful than not.)
  • I can restructure this PR to introduce "Example Setups" without these pages

docs/guide/example-setups/typescript.md Outdated Show resolved Hide resolved
docs/guide/example-setups/typescript.md Outdated Show resolved Hide resolved
@bkoski
Copy link
Author

bkoski commented Aug 10, 2021

@rwols I've revised based on your feedback, ready for a re-review!

@bkoski
Copy link
Author

bkoski commented Aug 13, 2021

cc: @FichteFoll would love to get some feedback on this and get it merged!

Put there your key bindings.


```json
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
```json
```jsonc

(Ubuntu 18.04 in this guide).
Set it to be the default shell to be started by Terminus:

```json
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
```json
```jsonc

In order to be able to open a Julia REPL
from a Julia source file opened in the editor,
I define the following command binding in `USER\Default.sublime-commands`:
```json
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
```json
```jsonc

Also, Zeal
needs to be made aware of the language of the documentation request:

```json
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
```json
```jsonc


Update the following keys:

```json
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
```json
```jsonc

The key bindings file and the other customization files for the user
live in the folder for user settings.
In my case that is
`C:\Users\PetrKrysl\AppData\Roaming\Sublime Text 3\Packages\User`.
Copy link
Contributor

Choose a reason for hiding this comment

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

New ST4's paths should probably used in up-to-date documents.

Suggested change
`C:\Users\PetrKrysl\AppData\Roaming\Sublime Text 3\Packages\User`.
`C:\Users\PetrKrysl\AppData\Roaming\Sublime Text\Packages\User`.

One can get that to run Julia by starting Sublime Text from a bat file.
I create such a file with the line:

```
Copy link
Contributor

Choose a reason for hiding this comment

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

Some parsers may support dos syntax

Suggested change
```
```dos

But be careful to keep important build artifacts, logs, profile reports
in a dedicated folder present in your `.gitignore`.

Add this to your `~/.zshrc`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe mention ~/.bashrc as well and give a hint on relation with used shell?

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.

None yet

4 participants