Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
92 views

In PowerShell, if I do: dir I get a listing with color. However, if I do: PowerShell -Command "dir" there is no color. Is there a way to do PowerShell -Command "dir" and have it ...
dharmatech's user avatar
  • 9,729
-1 votes
0 answers
103 views

The following code snippet throws a ClassCastException. I know how to fix it, but I'm disappointed that I have to fix it at all, as the Javadoc seems to indicate this should work. But the ...
Maarten van Leunen's user avatar
-7 votes
1 answer
103 views

In a class that has a bunch of functions, should I be making a separate private method specifically for formatting or should I just be formatting in every function that requires a string to be ...
Fatko's user avatar
  • 1
0 votes
1 answer
111 views

I have a data sheet that I am entering in Google Sheets and importing into R as an .xslx file. One of the columns in the datasheet is a character variable representing the specimen numbers of each ...
user2352714's user avatar
2 votes
1 answer
56 views

I’m writing SQL inside Python using triple-quoted strings, like this: schema = """ CREATE TABLE IF NOT EXISTS peers ( id INTEGER PRIMARY KEY AUTOINCREMENT, host TEXT ...
Unlucky's user avatar
  • 469
1 vote
1 answer
193 views

Background VBA has a Format() function which converts any value to its textual representation. This is useful for numbers and Dates and times, but it can also be used on Strings. Debug.Print Format(&...
Greg's user avatar
  • 3,368
0 votes
0 answers
56 views

SQLFluff has a rule for choosing either of SELECT a + b FROM or SELECT a + b FROM The docs give the examples exactly those two ways. But, to my eye those are both clearly wrong! The problem ...
Skaramuche's user avatar
0 votes
0 answers
15 views

I am currently developing an application that manages multiple drives and among them would be an XDCAM drive media. This application main function is to format the drives. For other drives I am using ...
coleh's user avatar
  • 3
0 votes
0 answers
68 views

I'm using jspdf to render text that I get from a text editor (which means the text has HTML tags and styles and classes), i'm using the method .html when the note is basic text and it's working fine, ...
Ons belkhouja's user avatar
0 votes
1 answer
97 views

I am working on a C# application that generates a Markdown table to summarize project timesheet data. I want to send it to a Discord like platform called Mezon. The table displays correctly (with ...
Tuấn Nguyễn Tiến's user avatar
0 votes
1 answer
61 views

I want to change the format of an axis from mmm-yy to qq-yy. Example, I want "Dec-22" to be "Q4-22". The dates are NOT in the data, so I can't change the date format in the data ...
bereedcpa's user avatar
0 votes
2 answers
62 views

enter image description here I want the image below the text to be aligned to the bottom instead of directly under it, both containers are the exact same with formatting. they are in this container : ....
Kokichi Kinnie's user avatar
0 votes
1 answer
70 views

How do you format an Ordered list so that each list marker (a., b.,) begins at .375in, and the list item text begins at .75 inches. the second line of the list item (wrap-around text) should begin to ...
EricLowber's user avatar
1 vote
1 answer
114 views

I have a table like this excel table and I want to create a Word Table to look like this I am a novice user of VBA so this is genuinely killing me because I can't figure out how to make this happen. ...
generalzu10's user avatar
0 votes
0 answers
82 views

I have the following .clang-format: --- BasedOnStyle: WebKit BreakBeforeBraces: Attach BreakConstructorInitializers: BeforeColon ColumnLimit: 0 ContinuationIndentWidth: 4 Cpp11BracedListStyle: false ...
Raildex's user avatar
  • 5,428
1 vote
1 answer
308 views

I'm using VS Code on macOS. I installed sqlfluff locally using pip. I also installed it via the extensions UI. I am trying to format my code manually via the UI. When I select my code, do a left click ...
x89's user avatar
  • 3,532
0 votes
0 answers
69 views

How to make PEP8 formatter vscode extension to allow long lines for python? Currently the formatting enforce too short lines. Furthermore, I really like the auto-formatting in pycharm. Is there a way ...
J. Doe's user avatar
  • 305
0 votes
0 answers
111 views

I'm using VS Code on Nobara Linux (a Fedora-based distro) and working with the Go programming language. When I type the following and press Enter after import(: import(⏎) The result I get is: import( )...
Benjamin Tardivo's user avatar
1 vote
1 answer
61 views

In writing a C# console app's log output, I am sometimes overwriting the previous line for aesthetic purposes. I'm currently doing this by using the command: Console.SetCursorPosition(0, Console....
Dion's user avatar
  • 31
1 vote
1 answer
169 views

I am using LaTeX for writing a thesis, including the package minted to highlight code. In my case, it is Razor code, which means a mixture of html and C#. The following code is an example for my ...
Manuel's user avatar
  • 125
2 votes
0 answers
89 views

I'm looking for a way to apply Eclipse Java cleanup rules (not just code formatting) to a set of .java source files from the command line. Specifically, I want to replicate the effect of Eclipse's ...
Adam Alrefai's user avatar
0 votes
2 answers
189 views

I am writing a log function that takes a format string and a variable number of arguments and captures std::source_location. This is not straightforward, so I tried the FormatWithLocation solution ...
bers's user avatar
  • 6,309
1 vote
0 answers
121 views

Currently i use a tasks.json file with { "version": "2.0.0", "tasks": [ { "label": "Format PowerShell Scripts", ...
Ryu S.'s user avatar
  • 2,101
0 votes
0 answers
64 views

In a gt table like this: mtcars |> group_by(cyl) |> select(cyl, mpg, disp, hp, wt) |> gt() |> grand_summary_rows( columns = where(is.numeric), fns = list( "...
John David Smith's user avatar
1 vote
0 answers
44 views

I've been struggling with this code which displays a message while formatting a thumb drive. The code has been cobbled together using various snippets from StackOverflow. While it does what its ...
ssbg's user avatar
  • 13
1 vote
0 answers
106 views

I am using AlpineJS with Templ and golang in Visual Studio Code. How can I get format document (Ctrl+Shift+i) to work for the x-data, x-init, etc attributes to work in Visual Studio Code? I currently ...
Taylor Ramirez's user avatar
-1 votes
1 answer
109 views

I'm trying to figure out this error: Conversion failed when converting the nvarchar value **** to data type int This is happening in Synapse but I cannot understand why it wants to convert it to INT ...
Rikpro43 2's user avatar
0 votes
2 answers
123 views

I am trying to indirectly reference another sheet within my Google sheets document in order to compare a string and color the cell accordingly if the text matches. Let's say that Sheet 1 is a list of ...
user1473285's user avatar
1 vote
1 answer
147 views

Please help me to configure prettier for correct new line transition of closing tag for all cases. Prettier config: { "bracketSameLine": true, "singleAttributePerLine": true, ...
Vitaliy Kuznetsov's user avatar
2 votes
1 answer
63 views

As we know input makes the inputs to string. How can I take matrix like this ([[1,2],[3,4]]) from input() by user and have it like a normal 2D list to do some thing on it. It should be like that data =...
S.A's user avatar
  • 23
3 votes
0 answers
123 views

I've been using Visual Studio Code for C++ development. I ran into an annoyance with long parameter lists, both in declarations / definitions and calls. Visual Studio does this: foo ...
Kostya Vasilyev's user avatar
0 votes
1 answer
59 views

I have an excel sheet with over 250 points and multiple columns - I am trying to automate the file so certain columns (not all columns but few) with blank cells get highlighted yellow and also have a ...
Saifullah's user avatar
0 votes
0 answers
27 views

how do I get visual studio to add indentation so that this using TExample = MyClassA< MyClassB< MyClassC, MyClassD>, MyClassE>; is formatted by VS to using TExample = ...
Dave Fooks's user avatar
0 votes
0 answers
118 views

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
2 votes
0 answers
99 views

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
91 views

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
42 views

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
321 views

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
45 views

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
116 views

single expression methods public void Method() { Expression; } need to format in Method() => Expression;
vjobs's user avatar
  • 13
0 votes
0 answers
20 views

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
151 views

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
124 views

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,117
2 votes
1 answer
73 views

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
  • 47
2 votes
1 answer
98 views

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
33 views

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
0 votes
2 answers
301 views

I installed vsc and I have a problem with formatting the code in dart as below. Lines do not maintain folds and commas are removed. Can anyone help?
Throw's user avatar
  • 19
0 votes
0 answers
34 views

I am trying to build a simple tile view of some videos, (show their thumbnails and the description of the video), but I also want to add my own 'See All' link. The link out of the box will go to the ...
thomasonk's user avatar
0 votes
0 answers
205 views

I'm trying to set up prompts to allow Zed IDE's AI assistant to apply direct changes to files for me to accept. However, I haven't found any documentation on the required syntax and structure for ...
Fahed's user avatar
  • 205
0 votes
1 answer
123 views

Is it possible to create a custom ColorIndex for VBA in Excel? The workbook I'm working on has an excessive number of conditional formatting rules. I'm trying to convert those rules to a VBA script ...
mkcoehoorn's user avatar

1
2 3 4 5
278