Text: remove syntax highlighting for POV & POV-INI #108689

Closed
Campbell Barton wants to merge 1 commits from ideasman42/blender:pr-text-formatters-remove into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

Remove text editor formatters for languages not directly supported by Blender,
these were added a while ago, and I don't think we get much value from distributing Blender with them.


These formatters contain around 1800 lines of code, while they work well and have not been a maintenance burden, I don't think they provide much in the way of user benefits either.

As a rule of thumb I think it's reasonable to support formatting for text files which Blender uses as part of it's core functionality, which leaves us with Python & OSL.

In the future we might want to expand this to include defacto standards such as JSON/TOML.
Although I don't see this as a priority either.

Remove text editor formatters for languages not directly supported by Blender, these were added a while ago, and I don't think we get much value from distributing Blender with them. ---- These formatters contain around 1800 lines of code, while they work well and have not been a maintenance burden, I don't think they provide much in the way of user benefits either. As a rule of thumb I think it's reasonable to support formatting for text files which Blender uses as part of it's core functionality, which leaves us with `Python` & `OSL`. In the future we might want to expand this to include defacto standards such as JSON/TOML. Although I don't see this as a priority either.
Campbell Barton changed title from Text: Remove formatters for LUA/POVRay & POVRay INI to Text: Remove formatters for LUA, POV & POV-INI 2023-06-07 08:34:41 +02:00
Campbell Barton requested review from Maurice Raybaud 2023-06-07 08:38:03 +02:00
Campbell Barton requested review from Bastien Montagne 2023-06-07 08:38:04 +02:00
Author
Owner

Added Maurice Raybaud who implemented the initial POVRAY formatter, I can't add @btolputt (likely the account is inactive).

Added Maurice Raybaud who implemented the initial POVRAY formatter, I can't add @btolputt (likely the account is inactive).
Campbell Barton changed title from Text: Remove formatters for LUA, POV & POV-INI to Text: remove syntax highlighting for LUA, POV & POV-INI 2023-06-07 08:50:23 +02:00
First-time contributor

... I can't add @btolputt (likely the account is inactive).

I'm still around but not active in development anymore. I'm perfectly OK with removing the Lua formatters I put together for Blender given it's a hold-over from the Game Engine integration stuff that's LONG been removed/outdated from the Blender codebase.

I still think it would be better if there were a way to add text formatters without hard-coding them, but that's a completely different issue than here, so I'll leave it at "Go ahead, happy to see them go"

> ... I can't add @btolputt (likely the account is inactive). > I'm still around but not active in development anymore. I'm perfectly OK with removing the Lua formatters I put together for Blender given it's a hold-over from the Game Engine integration stuff that's LONG been removed/outdated from the Blender codebase. I still think it would be better if there were a way to add text formatters without hard-coding them, but that's a completely different issue than here, so I'll leave it at _"Go ahead, happy to see them go"_

Am fine with the LUA removal, indeed not related anymore to Blender as it is nowadays.

A bit more hesitant regarding POV removal... As niche as it may be, it still makes some level of sense to keep it imho. Would let @MauriceRaybaud decide on this one.

Am fine with the LUA removal, indeed not related anymore to Blender as it is nowadays. A bit more hesitant regarding POV removal... As niche as it may be, it still makes some level of sense to keep it imho. Would let @MauriceRaybaud decide on this one.
Author
Owner

Removed LUA 95ca04dc20

Removed LUA 95ca04dc207f8bbbdb18287223ba8fdabdd54511
Campbell Barton changed title from Text: remove syntax highlighting for LUA, POV & POV-INI to Text: remove syntax highlighting for POV & POV-INI 2023-06-10 09:23:53 +02:00
Campbell Barton force-pushed pr-text-formatters-remove from 6882946a61 to e4b8cd8a77 2023-06-10 09:27:42 +02:00 Compare

Indeed We'd rather have this stay until external syntax files are supported. Thanks for your patience

Indeed We'd rather have this stay until external syntax files are supported. Thanks for your patience
Campbell Barton closed this pull request 2023-09-18 05:21:59 +02:00
Author
Owner

Thanks for the feedback, closing this PR then.

Thanks for the feedback, closing this PR then.

Pull request closed

Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#108689
No description provided.