GithubHelp home page GithubHelp logo

00mjk / codeconverter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from icsharpcode/codeconverter

0.0 0.0 0.0 8.98 MB

Convert code from C# to VB.NET and vice versa using Roslyn

Home Page: https://codeconverter.icsharpcode.net/

License: MIT License

C# 90.21% CSS 0.13% HTML 0.11% PowerShell 0.21% Visual Basic .NET 8.45% Batchfile 0.01% Shell 0.02% TypeScript 0.87%

codeconverter's Introduction

Code Converter Build Status

Convert code from VB.NET to C# and vice versa using Roslyn - all free and open source:

Visual Studio Extension

Adds context menu items to convert projects/files between VB.NET and C#. See the wiki documentation for help using it.

Download from Visual Studio Marketplace (Requires VS 2017 15.7+)

  • Flexible: Convert a small selection, or a whole solution in one go, in either direction.
  • Accurate: Full project context (through Roslyn) is used to get the most accurate conversion.
  • Safe: Conversion runs entirely locally - your code doesn't leave your machine.
  • Completely free and open source GitHub project.
  • Integrated: Uses the Output window to show conversion progress / summary.
  • Actively developed: User feedback helps us continuously strive for a more accurate conversion.

Selected text conversion context menu

Contributing

Let us know what needs improving. If you want to get involved in writing the code yourself, even better! We've already had code contributions from several first time GitHub contributors, so don't be shy! See Contributing.md for more info.

Currently, the VB -> C# conversion quality is higher than the C# -> VB conversion quality. This is due to demand of people raising issues and supply of developers willing to fix them. But we're very happy to support developers who want to contribute to either conversion direction. Visual Basic will have support for some project types on initial versions of .NET 5, but won't be getting new features according to the .NET Team Blog.

Other ways to use the converter

  • Latest CI build (potentially less stable):
    • See latest build
    • Uninstall current version, then install VSIX file inside "1 published" artifact
  • Integrating the NuGet library

Building/running from source

  1. Ensure you have .NET Core SDK 3.1+
  2. Open the solution in Visual Studio 2017+
  3. To run the website, set CodeConverter.Web as the startup project
  4. To run the Visual Studio extension, set Vsix as the startup project
    • A new instance of Visual Studio will open with the extension installed

History

A spiritual successor of the code conversion within SharpDevelop and later part of Refactoring Essentials, the code converter was separated out to avoid difficulties with different Visual Studio and Roslyn versions.

More screenshots

codeconverter's People

Contributors

agametov avatar alexilia avatar arknodel avatar blubbll avatar brianfreemanatlanta avatar ceztko avatar christophwille avatar dgrunwald avatar fabiendaou avatar grahamthecoder avatar leezer3 avatar mrmonday avatar russellsmith2 avatar saibamen avatar siegfriedpammer avatar superrembo avatar taylus avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.