Comments (2)
From a purely technical perspective, I think the design is neat. I have reservations about it in this context though. My first gut reaction is that it seems a bit complicated for what's supposed to be a simple and lightweight way to stream/output text to disk. And if the indentation support gets implemented directly (which I think looks likely), I also have a hard time coming up with good use cases for additional extensions that couldn't be covered by plain old extension methods.
I'll think on it some more over the next couple days, but I'm leaning towards deferring this idea for now...
from scripty.
Thought about this a lot recently. I'm going to go ahead and close this issue. I really appreciate that you've given this so much thought and are interested in improving the library. However, I'm going to focus efforts in the foreseeable future on smaller, more focused enhancements and the core functionality.
Any preprocessing work that needs to be done on output content (such as the casing example above) can be done with a custom TextWriter
that wraps the Scripty OutputFile
(much the same way Scripty itself wraps a TextWriter
). These could even be nested to provide multiple output preprocessors.
from scripty.
Related Issues (20)
- After installing scripty tool VS2017 is broken HOT 1
- Can't set the custom tool HOT 2
- Auto run custom tool when *.cs document saving HOT 3
- Making Scripty.MsBuild run only within a single build configuration HOT 5
- Cake.Scripty references an older version of Cake.Core
- Scripty doesn't work in SDK-style projects HOT 6
- Potential problems with outputting to source folder HOT 1
- Scripty.MsBuild settings encoding problem
- Scripty still runs even if file is excluded from project HOT 3
- Recommended changes resulting from automated audit HOT 1
- Extension fails to work in 15.8 Preview 3 HOT 19
- How to use System.Data namespace in .csx File HOT 1
- Scripty Extension Page Not Found HOT 1
- Trouble with referenced third-party libraries HOT 2
- Scripty Visual Studio extension URL is not working HOT 2
- Dead Project ? HOT 1
- Visual studio extesion no longer available + does not work in .net core 2.1, 2.2
- Is this project dead? What do we use to generate code with .NET Core 3.1? HOT 1
- Works on Windows, fails on Linux.
- create a source generator to replace scripty
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scripty.