Skip to content

Autocomplete brackets and parenthesis #412

Open
@processing-bot

Description

@processing-bot

Created by: Aviii06

Description

Currently the code editor of the processing doesn't allow even an option to autocomplete curly braces. I think there should atleast be an option for the same.

Expected Behavior

if we write void setup(then the parentesis should close. Further void setup(){ the curly brace should close with proper indentation.

Current Behavior

Currently you have to manually close every single bracket. Which gets extremly annoying for people who regularly code in vs code.
Even though you can have a vs code setup by coding in vs code and have processing run through terminal I feel an option should be given. know similar discussions have been had on P5 and the result was it would be problematic for beginners. But we can still have this as an option.

Steps to Reproduce

  1. Use any parenthesis or curly braces

Your Environment

  • Processing version: in 3.0 and 4.0 beta
  • Operating System and OS version: Mac OS
  • Other information:

Possible Causes / Solutions

We can have a boolean in prefrences.txt and just have a function which first checks for the boolean and auto completes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions