[Feature] Auto remove default modules on new objects

Open
#106 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
50/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
rust
Domain
devtools, tooling

Research direction

Start by locating the server warning for objects that retain the three default modules and the code that generates its snippet. Determine whether a quickfix, automatic snippet filling, or both is intended for unknown object names. Done means new objects can receive the three RemoveModule fields without manually writing them, with the existing warning behavior preserved.

Written by the indexing model from the issue text.

Description

feature

Problem

It takes a long time to write the three RemoveModule fields which is required for new objects in map.ini.

Proposal

The server already warns about this issues when the object hasn't removed them. It would be nice if it did one or both of the following:

  1. Add a quickfix which adds the three fields in the object.
  2. If the user uses the snippet provided by the server it could auto fill the remove fields if the name for the object is not a known object.

Examples

Object NewObject
    RemoveModule ModuleTag_DefaultDestroyDie
    RemoveModule ModuleTag_DefaultInactiveBody
    RemoveModule ModuleTag_DefaultW3DDefaultDraw
End
Dominant language
Rust
Stars
1
Forks
0
Avg merge
21h 13m
Merged PRs (30d)
28

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.

More from ViTeXFTW/ZeroSyntaxV2

All issues in ViTeXFTW/ZeroSyntaxV2

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.