microsoft / microsoft/vscode-java-debug

Mark function return value as readOnly

Open
#1,322 4 comments 0 reactions 1 assignee View on GitHub

@testforstephen is already working on this.

Since Apr 17, 2023.

ai-triaged enhancement variables
Dominant language
TypeScript
Stars
591
Forks
429
Avg merge
1d 9h
Merged PRs (30d)
19

Description

When stepping out of a function the return value is helpfully displayed like a variable: ->equals(): false
But when trying to edit it (for lack of #1320) I'm getting
image

Environment
  • Operating System: Win11
  • JDK version: GraalVM 22.3 JDK17
  • Visual Studio Code version: 1.77.2
  • Java extension version: v1.16.0
  • Java Debugger extension version: v0.49.1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.