14 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
1
answer
55
views
How can I use Azure OpenAI in Positron
Is it possible to use Azure OpenAI in Positron which is VScode based IDE?
I obtained the endpoint something like:
https://xxxxxx.cognitiveservices.azure.com/
And I've already added following setting ...
0
votes
0
answers
77
views
How to highlight a named color (e.g., "red") in editor in Positron for Python?
How to highlight a named color (e.g., "red") in editor for Python codes, just like in RStudio?
I notice that the extension "Color Highlight" is able to highlight "#FF0000"...
1
vote
1
answer
68
views
VS Code jump to next pattern
I'm learning to use Positron, an IDE built on Code OSS (the same foundation as VS Code). I want to be able to create a keybinding that jumps (without user interaction) to the next occurrence of a ...
1
vote
1
answer
254
views
Why won't my quarto document recognize relative pathways when rendering or previewing?
So I have a quarto document where I am working in python. When I run the following line in positron, it works perfectly:
LeavesRadiance = pl.read_csv("Fieldwork/Leaves/Leaves_radiance.csv")
...
0
votes
2
answers
92
views
Positron (VS Code) snippets to insert code region
Similarly to this question,
I would like to use HyperSnips to create a code region.
This would look like the following :
# ...
5
votes
2
answers
426
views
How to automatically insert parentheses () when autocompleting functions in Python using Positron IDE?
I am new to the Positron IDE and I'd like to automatically insert parentheses () when coding in Python. For example, when I type len and hit Enter to confirm, it does not automatically insert ...
0
votes
1
answer
241
views
How to have function argument indenting?
I am trying out Positron that builds upon VS studio code to be more data science centric. I am used to coding in R Studio which will automatically indent my code inside of functions and I am used to ...
0
votes
3
answers
183
views
Positron (or VS Code) snippet to insert dashes up to a number of characters
I'm transitioning from RStudio to Positron, and one thing I'm missing about my RStudio setup is an addin that I had installed. I got the idea from Mine Çetinkaya-Rundel, which is to add dashes from ...
1
vote
1
answer
79
views
How can I disable VSCode autocomplete so that it doesn't list ggproto options
When writing ggplot code using VScode (or Positron IDE; similar behavior in RStudio as well) the autocompletion top suggestions are ggproto functions/objects, rather than the standard ggplot functions....
1
vote
1
answer
109
views
Positron/vs-studio-code How to highlight `:::` the same as brackets?
I am trying out Positron that builds upon VS studio code to be more data science centric. I use quarto to create documents and ::: is a special fence to create div for to do certain like make text ...
1
vote
0
answers
183
views
Control the size of the output plot in R notebook in Positron
I want to control the size of the output plot in Positron in R ipynb notebooks.
In RStudio in markdown, I would start the chunk with {r fig.width=9,fig.height=5} and I could resize the plot to fit my ...
0
votes
0
answers
590
views
Issues Running Code Chunks in Quarto on Positron
Read more in GH discussion.
I’m encountering issues using Quarto within Positron when trying to include R or Python code chunks in my .qmd documents. When I run the quarto preview command, I receive ...
0
votes
0
answers
928
views
Positron IDE can't find the Python path
I just installed Positron IDE based on Visual Studio Code, I can work with R programming language and Python, but it doesn't run python code, R is set up as global, Python is set up as global but ...
1
vote
1
answer
221
views
Why are variable names written in data.table syntax highlighted?
I've just started using Positron (Posit's new solution to integrate R and Python in an IDE that looks like RStudio but has many functionalities of VSCode) as it sounds like a great idea: https://...