Subject: I am rewriting an extension for special language. It's like XML with embedded C#, JS and CSS.
Problem: I used external extension API as C# formatter, but now it's deprecated and even removed from marketplace because OmniSharp C# extension now covers all the needs of formatting. But I didn't find any text formatting in the code of this extension to request for similar API.
Question: what is best way to format pieces of text as C# inside VSCode extension? Or is there any free JS library for formatting actual version of C# language?
Related
In vb.net I can write an XML documentation by using some tags, like the following
'''<summary>
''' Hello there!
'''</summary>
In Java, I simply can export my Javadoc documentation in a single click (it generates an Html file).
Is there a way to do something similar in vb.net?
There are several tools that can generate a documentation in HTML or other formats out of the XML comments. Some of them:
VSdocman - the tool for generating API documentation from C# and VB projects. It can generate multiple formats, including HTML, CHM, PDF, Docx and others. It also provides WYSIWYG XML comments editor in Visual Studio. It is a commercial product and I'm the author.
Sandcastle Help File Builder - a set of tools that are used to create help files for managed class libraries containing both conceptual and API reference topics. Free.
DocFX - An extensible and scalable static documentation generator. Free.
I am considering Haxe for a new project because I would like the application to be multi-platform. However, I searched for and did not find the libraries I would need. Is there a relatively easy way to display and annotate MS Word and PDF files in Haxe? Would I need to transcompile to C++ and then rely on third party MS tools and an SDK like Foxit?
Not any native Haxe solutions for importing and programmatically annotate MS Word or PDF files as far as I know. (Pretty sure about that.)
If you find native solutions for Haxe supported target languages (C++, Javascript/Node, C#, Java, Python or PHP...) you could write externs for those libraries, and this way make them work as a part of your Haxe solution.
PDF (only generic file structure and partial decryption)
https://github.com/HaxeFoundation/format/tree/master/format/pdf
Is it possible to make a DLL plugin for the programming editor called EditPlus?
I wish to extend the editor like in EditPlug text editor or Notepad++ where you create a DLL which allows you to talk to the editor. Or another example is Total Commander where you create a DLL to talk to the program from your own code in delphi or visual c++, or any program that can create a windows DLL.
Or is there NO way to make a plugin in Editplus because they have not implemented a plugin system?
I do not see any kind of plugin architecture mentioned in EditPlus's feature list. If it does not expose a plugin API, then you cannot write a plugin for it. All you can do is create a DLL that is injected into EditPlus's address space by an external process and then uses OS API calls to directly manipulate EditPlus's UI and raw memory as needed.
EditPlus does not have a plugin system, so you cannot extend in any way.
EditPlus has no plugin system!
In EditPlus, You can only use Text Filter to do something like plugins do.
Text Filter can execute script file or executable file.
You can use perl, java, python, vbscript, javascript or command line application which support standard input and standard output to write and run as a text filter.
Text Filter only can change the text content in the editor area.
I'll be very glad if a real plugin system come with EditPlus.
See also:
Writing a text filter for EditPlus
Some Text Filters for EditPlus
yes it is possible. it's hard (..not so very hard..but still)
i explain in here the possibility to extend Editplus with php
https://stackoverflow.com/a/61254718/5781320
i see this cause i lookin' for other simplest methods than mine.(just by curiosity and fun) .. i wrote the fastest php framework in the world and I will glad to make it "talk" with editplus
There is possible to compile servers in PUREBASIC.com to interact with applications Android in b4a=open source now (b4x.com) that suppose to interact with google speech recognition so yes is possible to talk from your phone to the server dll or exe to interact with editplus,total commander,and many other stuff.
I did it myself cause i was curious if had delay.
EditPlus hasn't the direct possibility , Notepad++ does and on https://www.purebasic.fr/english/viewtopic.php?f=12&t=65680&hilit=notepad+plugin with the same purebasic i use on that notepad++ version work that pugin can be modiffied how you like to be .On actual version of notepad++ i tryed myself doesn't work : the plugin is obsolete and is rejected so witch method you choose is hard to implement the system you need int this dynamic expansion of open source / or developing.
UPDATE 1
I tried to port existing C library as WinRT component, but it's not working as I must be doing some mistake, I am totally unaware about C++/C dev in Visual Studio. Please anyone help to port existing C lib to C# or help to develop WinRT component from it.
Transport Neutral Encapsulation Format or TNEF is a proprietary email attachment format used by Microsoft Outlook and Microsoft Exchange Server. An attached file with TNEF encoding is most often named winmail.dat or win.dat. It consists of email body, subject & attachments.
I've searched a lot and found two relevant solution. One is in C language, that I don't want. Other solution (I'm not sure though) is not compatible with WinRT.
So anyone know any C# library by which, I can decode the Winmail.dat file and extract the attached file and other data. I want to consume that lib in C#/XAML WinRT app.
I've recently written a completely open source (MIT licensed) version of Microsoft's Microsoft.Exchange.Data.ContentTypes.Tnef namespace TNEF API in MimeKit which is available via NuGet.
You can view the documentation for my implementation here: http://www.mimekit.net/docs/html/N_MimeKit_Tnef.htm
The only difference is the namespace. My implementation uses MimeKit.Tnef instead of Microsoft.Exchange.Data.ContentTypes.Tnef.
I am brandnew to PDF Generation or rendering but have a project to, create a PDF Template system that allows users to save Template to Database,
and later generate a PDF document using the template and values from my database.
Language to use C#
Questions
a) Is there a PDF tool out there that can help me with this and documentation I can study to learn of this?
b) Are there free tools out there for this?
c) How do I create a PDF Template? XML?
Thanks in Advance!
You should have a look at xsl:fo.
Apache has a tool which might be helpful.
You can use PHP to create and modify PDFs. (Everything below is completely free.)
Here are two extensive tutorials on generating PDFs in PHP:
http://blog.eirikhoem.net/index.php/2008/04/28/populate-pdf-templates-with-php-fpdf-fpdi/
http://www.astahost.com/info.php/create-pdf-php_t4972.html
You can use the FPDF library located here to handle generating PDFs based off of templates.
If You are using Java, you could try Docmosis or JODReports - they work from templates and can produce PDF output dynamically based on data and those templates. Depending on your template requirements, you might also be able to use Jasper Reports or Apache POI. All have free versions.
If you are looking for an instant solution, take a look on http://pdfnow.com . You can upload your XSL/FO-Templates and simply generate PDF-Templates with a simple webservice call.
I would give a shot to jsreport. You can install it on premise for free or use it online. It supports html -> pdf transformation using phantomjs or xml -> pdf transformation using apache fop.
The idea is that first you create report template using javascript templating engines like handlebars in jsreport studio and then you get back pdf by calling jsreport api.
If you are in c# there is jsreport c# sdk for it.
Note: I am the author of jsreport