Giter VIP home page Giter VIP logo

code-commenter-tester's Introduction

Test Solution for Code Commenter

Solution which provides a collection of empty files of different formats, allowing easy testing of the code commenter extension.

File Structure

There are two levels of .editorconfig files which are utilized by the various projects:

  • The root level .editorconfig which all files look to
    • This uses space tabs, with an indentation/tabsize of 3 spaces
  • A secondary .editorconfig underneath the respective \SecondaryEditorConfig directories which only applies to files underneath
    • This uses actual tab characters, with an indentation/tabsize of 5 spaces

The code commenter should be able to utilize contextual settings to pull the appropriate indent/tabsize for each specific file.

Projects

  • CSharpTestFiles
    • Test projects which holds C# test files (required because the Roslyn compiler, which the C# formatter relies on, only works in C# projects)
    • Contains code which utilizes the main .editorconfig under \BaseEditorConfig
    • Contains code which utilizes the secondary .editorconfig under \SecondaryEditorConfig
  • CTestFiles
    • Test project which primarily holds C test files
    • Also holds Python/Xml/Javascript test files
    • Contains code which utilizes the main .editorconfig under \BaseEditorConfig
    • Contains code which utilizes the secondary .editorconfig under \SecondaryEditorConfig

Utilization

You can easily debug the Code Commenter project by providing a path to this solution and the /rootsuffix Exp argument, ala:

  • "C:\src\code-commenter-tester\CodeCommenterTester.sln /rootsuffix Exp

This will run an instance of the solution with only that extension installed.

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.