https://github.com/iotagtk1/gtkcategorygenerator
This tool copies the CS file and automatically generates the partial class. Copy the string for the partial class name.
https://github.com/iotagtk1/gtkcategorygenerator
csharp generator gtk
Last synced: about 2 months ago
JSON representation
This tool copies the CS file and automatically generates the partial class. Copy the string for the partial class name.
- Host: GitHub
- URL: https://github.com/iotagtk1/gtkcategorygenerator
- Owner: iotagtk1
- Created: 2021-10-06T12:13:40.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-11-09T12:50:04.000Z (over 4 years ago)
- Last Synced: 2025-03-29T16:43:31.701Z (over 1 year ago)
- Topics: csharp, generator, gtk
- Language: C#
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readMe.md
Awesome Lists containing this project
README
### GtkCategoryGenerator
This tool copies the CS file and automatically generates the partial class.
Copy the string for the partial class name.
The copy will become part of the file name when the tool is run.
##### Example
```
test+copyPerstName.cs
```
##### Run from Rider macro can be used
Settings - Tools - External Tools
Register this app with external tools.
Set the path of the program.
GtkCategoryGenerator set Path
Set the arguments.
```
-fileDir $FilePath$
```
The working Path can be empty.
Uncheck the "Synchronize after execution" box.
When you run the GtkCategoryGenerator, a class file based on the template file will be generated in the project folder.
#### Execution
Select the CS file in Rider's Explorer and run the tool from the right-click External Tools menu
#### Modify the templates at
Modify classTemplate.txt and categoryTemplate.txt.
#### If you cannot build
When importing with Rider, please re-set the file properties to Embeded resource.
Or use AddItem to add it again.
#### Use Rider for Free
If you are an open source developer, you can use all JetBrains products for free!
https://www.jetbrains.com/community/opensource