Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I have a WinForms application. One of the requirements of the application is running Python scripts. For this, I am using IronPython. I can ask the user to save a Python script file and then execute the script from its location.
But it would be much better and easier for the user if I can provide an in-application editor for Python scripts with syntax highlighting and auto-completion.
Notepad++ is very useful for writing Python code. But it is not configurable through my C# code.
AvalonEdit is for WPF and my application is WinForms. I have noticed that IronLab does not have auto-completion.
What are my best options to provide a feature like this?
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I need to include in an application I am developing, a feature to allow easy customization of a module. In fact it will be nice to use some kind of scripting to modify the behaviour of a calculation process that the application provides. I am developing the application in C# and Roslyn... but how can I pass a context (parameters and values) to a Roslyn script and receive a response back?
If C# is appropriate language for your case Roslyn is a good choice.
Take a look at Microsoft.CodeAnalysis.CSharp.Scripting NuGet package. It allows to execute pieces of C# code stored in plain strings.
For example:
await CSharpScript.EvaluateAsync("Console.WriteLine(\"Hello world!\")");
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
In my project I need to check a bunch of text for spelling mistakes. I get the text over a webservice and have no GUI component from which I could use Spellchecking functionality.
Is there a standard spell checking function that I can use?
Is there a commercial or better open source library that can be used offline?
GNU Aspell is a stable, open-source spelling checker that includes dictionaries for many languages. The library has a C API, which you could presumably use through P/Invoke.
There is a NuGet GNU Aspell package, which claims to provide a .NET wrapper.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Are there examples of C# code accessing vSphere API through PowerCLI or otherwise? For test automation, is PowerCLI script or C# code calling vSphere API the better choice? Please advise on docs and examples
Here are C# samples for the web services API: http://communities.vmware.com/community/developer/codecentral/vsphere_ws_c
And here is the programming guide for using C# with the .NET assemblies that come with PowerCLI: http://www.vmware.com/support/developer/windowstoolkit/wintk40/doc/viwin_devg.pdf
On a personal note, I prefer PowerCLI for doing my test automation. Lots of things can be accomplished with one line of PowerCLI, and you never have to open Visual Studio. ;)
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I was wondering if there exists an application for mobile phones(any platform) that simulates compiler, validates syntax?
It would be nice to have one the phone:) Particularly I am looking something for C# or C++(like gcc).
It does not have to generate any output code, just the front-end part(lexilal, syntax analysis...)
You can try online compilers that work through web browsers, such as Compilr.com.
Many mobile phones have SDKs, these will include all the tools that you need to develop on that particular device.
Symbian and Android are two that spring to mind.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am wondering if anyone knows of an open source c# library for beautifying javascript. I would like to make use of such a library within my asp net website to make debugging messy javascript easier.
There are currently many online websites for this (ie. http://jsbeautifier.org/) however I would like to have access to such a utility within c#, even if it is just a wrapper for communicating with an online API.
You can use jsbeautifylib.
http://jsbeautifylib.codeplex.com/
It's the file/folder you found :)
Also there is a C# port of js-beautify by Denis Ivanov here
And in the simplest of form, there is JSBeautify.cs
The site you pointed out suggests a command line tool. Wouldn't it be enough for you?
To beautify from the command-line you
can use provided beautify-cl.js
script, using Rhino javascript engine.
See the file contents for the details.