Skip to main content
-2 votes
0 answers
28 views

VSCode indent multiple lines by equal amount [closed]

Suppose I have the following, where B is one space further indented than A and C x = """ A B C """ How can I add a tab before each line? I.e., x = """ ...
dfried's user avatar
  • 527
0 votes
0 answers
96 views

Data Extraction from .txt file, formatting nightmare

I am writing code to extra data from a text file, the .txt file contains repeating sections in a 28x99(max) grid, the column size changes slightly depending on the data in the grid. For example below ...
Bamjamin's user avatar
0 votes
1 answer
22 views

Json format is changing in view results tree response after adding correlation

My request body {"formId":"D11601C6-5A9B-4AAC-8B39-8BA62991E373","sectionId":"fb9b80dd-7f59-4de0-bc19-c13558e69226","employeeCode":"EMPCODE",...
Arun K J's user avatar
2 votes
0 answers
58 views

R ggplot2 label with math expression coming from a function variable [closed]

I'm trying to create a function that plots an image based on a given data and label the image according to an input variable (which currently I have as a string). I would like to make the labels ...
B. Dors's user avatar
  • 21
1 vote
0 answers
56 views

Maintaining cursor position after formatting user input in `TextField`

ParseableFormat is built-in way of handling formatting during input in TextFields but it provides no visual live feedback before submitting. If I try to format user input .onChange I face another ...
laconicman's user avatar
0 votes
1 answer
33 views

How can you apply auto format to method calls in variable declarations in Visual Studio?

My auto format rules are set to add a space before and after parens in method calls, but they do not apply if the method call is in the same line as a declaration. I've gone through the formatting ...
Christie Little's user avatar
0 votes
0 answers
47 views

How can I force Allman style formatting across all languages in Visual Studio Code?

I'm coming from Sublime text as my code editor for 10+ years to Visual Studio Code. One of the main things I can't seem to get customized is how it handles curly braces in css. Javascript, php, etc ...
Loomis's user avatar
  • 127
0 votes
0 answers
12 views

In ArcGIS Pro, how can I use Arcade to shift a label?

I'm working on a project in ArcGIS Pro that involves labeling parks. I have set the parks to display at a certain scale (1:10,000) that works for the majority of parks, but it doesn't work for a few ...
Neal Hicks's user avatar
1 vote
1 answer
79 views

how to format all single action methods into a lambda expression methods when saving a file?

my method public void Method() { OneAction; } need format in Method() => OneAction;
vjobs's user avatar
  • 13
0 votes
0 answers
15 views

How to ensure the correct formatting of progress bars while downloading using boto3 and tqdm?

I am using the following function to download files from S3 using boto3 and tqdm: def download_data(*, folder_path, Bucket, Prefix): """ Download the data into a folder from S3 ...
TRK's user avatar
  • 205
2 votes
1 answer
91 views

Where can I find the list of Format Symbols (for dates and times) that are supported in R?

Is there a list of Format Symbols (like %F or %A) and or definitions for such symbols that can be accessed inside R? Background When searching for a way to transform characters to dates in R I came ...
Sigi's user avatar
  • 33
0 votes
4 answers
102 views

Create string based on array values

I am trying to create a tree structure like the tree command. To keep track of the "heirarchy", I have an array like ("true" "true" "false") or ("true&...
moys's user avatar
  • 8,085
2 votes
1 answer
55 views

Add count in variables label in gt_summary

I'm using gt_summary for my project, and so far I include the missing values as a separate row for each variable, through the missing arg of tbl_summary. However, I am trying to add in the variable ...
Sigil's user avatar
  • 25
2 votes
1 answer
79 views

Handling Semicolons in CSV to Prevent Splitting Across Cells in Go

I am generating a CSV file in a Go HTTP handler and sending it as a response. Some of my text fields contain semicolons (;), which causes issues when opening the file in applications like Excel. The ...
user275472's user avatar
0 votes
0 answers
31 views

How to automatically wrap markdown paragraphs on save in VS Code [duplicate]

As a bit of a code neat-freak, I find myself formatting my README.mds and other various markdown files too much. Often this results in me spending time reformatting an entire paragraph in order to ...
BreakfastScience's user avatar

15 30 50 per page
1
2 3 4 5
927