Skip to content
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

COBOL - Option to disable renumber function #227

Open
FALLAI-Denis opened this issue Mar 15, 2022 · 1 comment
Open

COBOL - Option to disable renumber function #227

FALLAI-Denis opened this issue Mar 15, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@FALLAI-Denis
Copy link

Description of the enhancement requested

Z Open Editor allows sequences to be renumbered on COBOL sources, indicating whether the sequence is in column 1 and/or column 73.
We use these areas to place information used by our tools. We don't want users to be able to override this information by initiating a renumber.

We propose to add a 4th value to the zopeneditor.cobol.sequenceNumbers parameter: "none", to disable the renumbering function.

"zopeneditor.cobol.sequenceNumbers": {
	"scope": "window",
	"enum": [
		"column-1",
		"column-73",
		"column-1-and-73",
                "none"                              
	],
	"enumDescriptions": [
		"%zopeneditor.cobol.sequenceNumbers.column1%",
		"%zopeneditor.cobol.sequenceNumbers.column73%",
		"%zopeneditor.cobol.sequenceNumbers.column1and73%"
		"%zopeneditor.cobol.sequenceNumbers.norenumber%"
	],
	"default": "column-1",
	"description": "%zopeneditor.cobol.sequenceNumbers%"
},
  "zopeneditor.cobol.sequenceNumbers": "Choose which columns will have sequence numbers inserted and removed from a file by using the Renumber and Unnumber functions in the COBOL editor.",
  "zopeneditor.cobol.sequenceNumbers.column1": "Numbering starts at column 1",
  "zopeneditor.cobol.sequenceNumbers.column73": "Numbering starts at column 73",
  "zopeneditor.cobol.sequenceNumbers.column1and73": "Numbering starts at column 1 and 73",
  "zopeneditor.cobol.sequenceNumbers.norenumber": "Do not renumber",
@phaumer phaumer added the enhancement New feature or request label Mar 16, 2022
@davidkcoblentz
Copy link

Agreed! Great Idea!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants