Skip to content

Update docs to include instructions for multiple interpreter sessions#87

Merged
dhruvisompura merged 14 commits intomainfrom
docs-interpreters
Jun 11, 2025
Merged

Update docs to include instructions for multiple interpreter sessions#87
dhruvisompura merged 14 commits intomainfrom
docs-interpreters

Conversation

@dhruvisompura
Copy link
Contributor

@dhruvisompura dhruvisompura commented Jun 6, 2025

Addresses posit-dev/positron#6214

Updated the docs related to interpreters to include information about multi session support.

I think we've landed on the term Interpreter session instead of console session so references to that have been updated in the doc.

I tried to follow our Posit style guide which also recommends the Microsoft style guide for describing UI.

There may be some mistakes around bolding/referencing UI elements as proper nouns so extra eyes on that would be helpful.

@netlify
Copy link

netlify bot commented Jun 6, 2025

Deploy Preview for positron-posit-co ready!

Name Link
🔨 Latest commit 1641569
🔍 Latest deploy log https://app.netlify.com/projects/positron-posit-co/deploys/6849cb693243810008db182b
😎 Deploy Preview https://deploy-preview-87--positron-posit-co.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor Author

@dhruvisompura dhruvisompura Jun 6, 2025

Choose a reason for hiding this comment

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

This file used to be called interpreters.qmd. I've split the contents up so that multi session information is in the interpreters.qmd file and all the startup related information is now in this file.

I left most of the file as is but I did remove the sections that are no longer relevant due to multi sessions.

I haven't done a full audit of this file to see if it matches our style guide. I assume it mostly does. If we aren't sure - I can take another look at it!

interpreters.qmd Outdated
The active interpreter session can always be identified in the Interpreter picker.

## Subsequent runs
<screenshot>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

These are just placeholders for where I plan to put the screenshots. I'll update these soon!

3. **New session creation**: If no interpreter session exists for the document language, Positron starts a new interpreter session. See the [Interpreter startup](interpreter-startup.qmd) guide for information on how Positron handles interpreter startup for you.

In addition to starting up an interpreter when the workspace is first opened, Positron will also automatically start an interpreter when it looks like one is needed. For example, Python will start:
### Language-specific features
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think this section could use some extra polish! Specifically, the diagnostics section. I wasn't sure what else to write there.

@dhruvisompura dhruvisompura marked this pull request as ready for review June 9, 2025 17:12
Copy link
Collaborator

@juliasilge juliasilge left a comment

Choose a reason for hiding this comment

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

This is looking good! Thank you so much for working on this 🙌

I have some big picture anxiety about screenshots, as I have seen the maintenance burden of these just spiral into a pretty difficult situation. We have posit-dev/positron#7651 to track some better process in this area.

For this initial version of these docs, can I ask you to:

  • evaluate which of these screenshots are necessary vs. nice-to-have? i.e. do you think words/narrative could be enough for any of these, before we invest in automation for screenshots?
  • consider which of these whole-app screenshots could be subsections of the app, to reduce the fallout from UI changes?
  • reduce the use of annotation on these screenshots, where possible?

I know this likely doesn't feel great 🙈 but I do think it's important to try to set ourselves up for less extreme pain moving forward.

dhruvisompura and others added 8 commits June 9, 2025 11:56
Co-authored-by: Julia Silge <julia.silge@gmail.com>
Co-authored-by: Julia Silge <julia.silge@gmail.com>
Co-authored-by: Julia Silge <julia.silge@gmail.com>
Co-authored-by: Julia Silge <julia.silge@gmail.com>
Co-authored-by: Julia Silge <julia.silge@gmail.com>
Co-authored-by: Julia Silge <julia.silge@gmail.com>
@dhruvisompura
Copy link
Contributor Author

This is looking good! Thank you so much for working on this 🙌

I have some big picture anxiety about screenshots, as I have seen the maintenance burden of these just spiral into a pretty difficult situation. We have posit-dev/positron#7651 to track some better process in this area.

For this initial version of these docs, can I ask you to:

  • evaluate which of these screenshots are necessary vs. nice-to-have? i.e. do you think words/narrative could be enough for any of these, before we invest in automation for screenshots?
  • consider which of these whole-app screenshots could be subsections of the app, to reduce the fallout from UI changes?
  • reduce the use of annotation on these screenshots, where possible?

I know this likely doesn't feel great 🙈 but I do think it's important to try to set ourselves up for less extreme pain moving forward.

I went through the doc and removed all but 4 screenshots. I've left a single screenshot containing the whole app because I think its important for the user to see where UI is located visually. This screenshot that feels necessary to me so users have a sense of the custom UI components we are talking about.

The remaining screenshots cover the location of buttons/actions that aren't immediately obvious from just looking at the IDE.

I left the annotations in for the images but I can remove them if we don't want annotations for images? I assume there are accessibility benefits we get for free by using them (I haven't verified this).

I'm debating if we need the icon describing the status icons. I could take or leave that one.

@dhruvisompura dhruvisompura requested a review from juliasilge June 9, 2025 22:19
Copy link
Collaborator

@juliasilge juliasilge left a comment

Choose a reason for hiding this comment

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

Fantastic! Thank you so much for all this work 🤩

@dhruvisompura dhruvisompura merged commit c87cafd into main Jun 11, 2025
5 checks passed
@dhruvisompura dhruvisompura deleted the docs-interpreters branch June 11, 2025 20:44
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.

2 participants