discipl / discipl/flinteditor-mps

Refactor LawSource_Behaviour class

Open
#213 0 comments 0 reactions 0 assignees View on GitHub
refactor
Dominant language
JetBrains MPS
Stars
2
Forks
3
PR merge metrics
No merged PRs in 30d

Description

## Refactor

### Description
`LawSource_Behaviour` contains the calls to gather sources/versions and display them. These calls are placed behind a button and coded inside the `.performAction()` call. The refactor would consist of extracting the different functions from `.performAction()` function and place them in seperate methods for clarity.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the LawSource_Behaviour class and inspecting its .performAction() method. Separate the source-gathering, version-gathering, and display calls into distinct methods while preserving the button's behavior; done means the logic is no longer embedded directly in .performAction().

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.