px2rem 1.0.1
dotnet add package px2rem --version 1.0.1
NuGet\Install-Package px2rem -Version 1.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="px2rem" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add px2rem --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: px2rem, 1.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install px2rem as a Cake Addin
#addin nuget:?package=px2rem&version=1.0.1
// Install px2rem as a Cake Tool
#tool nuget:?package=px2rem&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
一、基准字号设置:
1、读取当前编辑文件中的 html{ font-size } 小节作为基准
2、读取C:\px2rem\setting.json 配置中的设置基准,如:{"BaseSize":16.0,"Disabled":false}
3、没有 html font-size 小节,也没有setting.json,则默认基准为 16px
二、设置命令:
1、0pre 关闭px2rem
2、1pre 激活px2rem
3、2pre 将设置写入到setting.json
4、3pre 设定用户输入优先,并存储设置到文件
5、4pre 设定计算值优先,并存储设置到文件
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
-
- Microsoft.VisualStudio.Text.UI.Wpf (>= 15.0.26201)
- Newtonsoft.Json (>= 10.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.1 | 1,236 | 8/14/2017 |
v1.0.1版本
修改配置与DLL引用,使插件兼容VS2012、VS2015、VS2017
rem计算结果保留3位小数
增加用户原始输入到提示列表
可设置提示列表顺序.