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
Bash syntax highlighting in yml files in VSCode #207338
Comments
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.87.1. Please try upgrading to the latest version and checking whether this issue remains. Happy Coding! |
@martyzee can you share a copy+pastable cope snippet that I can use to reproduce the issue? |
stages:
- stage: CheckPolicies
pool:
name: Default
jobs:
- job: CheckPolicies
steps:
- bash: |
set -euo pipefail
var=14 # this is an inline comment
echo "echo statement"
echo
# this is a big comment
# this is a big comment
# this is a big comment
for file in myfilename
do
echo do stuff
done stages:
- stage: CheckPolicies
pool:
name: Default
jobs:
- job: CheckPolicies
"
steps:
- bash: |
set -euo pipefail
var=14 # this is an inline comment
echo "echo statement"
echo
# this is a big comment
# this is a big comment
# this is a big comment
for file in myfilename
do
echo do stuff
done stages:
- stage: CheckPolicies
pool:
name: Default
jobs:
- job: CheckPolicies
{
steps:
- bash: |
set -euo pipefail
var=14 # this is an inline comment
echo "echo statement"
echo
# this is a big comment
# this is a big comment
# this is a big comment
for file in myfilename
do
echo do stuff
done |
I purely used those characters as an example of what the comments should look like, not in any way functional. |
currently there's no special support for you would like |
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
Is this technically not a bug? |
@RedCMD can you upvote please? |
This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
🙁 In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
Type: Bug
When using a bash step in a pipeline job, the syntax highlighting is unpredictable and sometimes just doesn’t work.
VS Code version: Code 1.85.1 (Universal) (0ee08df, 2023-12-13T09:48:06.308Z)
OS version: Darwin x64 22.6.0
Modes:
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Extensions (8)
A/B Experiments
The text was updated successfully, but these errors were encountered: