Giter Club home page Giter Club logo

vscode-office's People

Contributors

cweijan avatar doggy8088 avatar fmarslan avatar ggrossetie avatar grandsong avatar huangqiangxiong avatar hzh-test avatar illuminat3 avatar joejcollins avatar ronen1n avatar zouyonghao avatar zyzbj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

vscode-office's Issues

请问如何自定义css以个性化预览

@cweijan 作者你好:

非常感谢你开源的这款插件,让我在vscode上有了类似typora的协作体验,感激不尽。

这里有个小问题,请问如何自定义css来进行个性化预览,类似Typora将css文件放到相关目录,支持各种自定义主题。

预览文件乱码

插件可以预览utf-8格式的csv(xlsx文件也是一样的),但是gbk格式的就显示乱码。微软office能够正常显示gbk格式csv,但是打开utf-8格式就乱码(虽然可以通过获取数据的方法导入csv数据进行正常显示,但是需要多花费几个步骤)。请问大佬有办法能够平衡这个问题吗?简而言之就是希望这个插件既能显示utf-8格式的文件又能够显示gbk格式的文件。

Pasted images are placed in a visible folder

When pasting an image to a markdown document, the image is saved to image/<filename>/<hash>.png
That folder will be visible in a git based wiki as used in MS DevOps Server if not hidden using a dot as in .image/<filename>/<hash>.png

Please change the default folder named for pasted images.
Or provide a way to change the default folder in the settings.

更改主题和保存设置

1、能不能多添加几个主题(主要指vue官方文档的主题)
2、切换编辑模式和代码主题之后,怎么保存这些配置呢,重新打开之后又变回默认了

[feature request] choose between source and gui for csv files

I love the spreadsheet view for csv-files, but sometimes I do need the power of the raw text editor. For example to do a multi-cursor edit or when I search&replace with a complex regex. Also I like to check the exact underlying csv format every now and then (comma vs semi-colon, double quotes vs single quotes and things like that).

I would like to be able wo easily switch between spreadsheet view from this plugin and the regular text editor from vscode/codium. Currently my workaround is to rename the file to .txt but that's something would like to avoid.

怎样全选数据行列

操作excel 时候习惯 点击左上角全选
image

试了下点击这里没有用,ctrl + a 也不行

"Find" issue

Viewing .xls file and using CTRL + F to search in multi-sheet document does not look through sheet contents, but only through sheet names. Is this intended or are there plans for adding this feature in some update?

Built-in themes conflicting with existing ones (One Dark & Material Icon)

When starting VSC with Material Icon Theme as enabled real extension, it conflicts with the one included in yours.
Custom icons doesn't work and a few other configs...
Is it possible to disable built in themes and icons? Or at least locally

Have to remove that every update

"themes": [
	{
		"label": "One Dark Modern",
		"uiTheme": "vs-dark",
		"path": "./theme/OneDark-Modern.json"
	}
],
"iconThemes": [
	{
		"id": "material-icon-theme",
		"label": "Material Icon Theme",
		"path": "./dist/material-icons.json",
		"_watch": true
	}
],```

Feature request: difference view

For the purpose of working with source control software like GIT. Currently the documents are simply open and the differences are not highlighted and/or emphasize.

Dark Mode

Hi, at first i want to thank you for this ingenious extension. But I personally have one improvement tip: please introduce a dark mode if it's possible. I am very used to it in VSCode.

查看图片时有个小问题

如果一个文件夹里有很多图片(几十上百张那种),点击右上角预览图片的按钮时,下面预览的小图片时,只能看到几行(如图一共200张图,只能看到几十张的预览图),并且这几行无法滚动

另外希望可以按照时间顺序,或者其他顺序排列图片

image

之前版本可以直接粘贴图片文件在md文件中的

在 2.2.1 版本 可以直接粘贴图片,默认生成一个图片文件夹,后续按照md文件名对文件夹内图片分类
这个功能很好用,
但是在最近的两个版本,这个功能没有了.希望保留这个功能,目前版本已经回退到2.2.1

Support Workspace Trust

Hello 👋 I'm from the VS Code team.

Recently, we have been exploring a security feature we refer to as Workspace Trust. This feature is intended to centralize and unify a security conscious decision required by a variety of VS Code features. With workspace trust, the user will be able to declare whether or not they trust the folder that is opened in VS Code before these features are executed.

Why you should care

We want to make sure that those users have a delightful experience with workspace trust and that includes extension authors deciding how much of their extension is supported in an untrusted workspace. Custom editors are special in that if they cannot at least render in an untrusted state then they will be replaced by a lightweight message telling the user to enable trust. This means that users of your extension will not be able to see their editors and there may even be cases of data loss.

Custom Editors Untrusted

Workspace Trust experience

You can enable the feature with the following setting security.workspace.trust.enabled. Once enabled, you will see the following dialog when opening folders in VS Code.

Workspace Trust Startup Dialog

This dialog is important for allowing the user to make a decision early and understand the impact of their decision. Once you understand the feature, you may want to customize when to display the dialog using the setting security.workspace.trust.startupPrompt.

You can follow the development of Workspace Trust and provide feedback in issue #106488.

Workspace trust API

First off, all of what I am about to say can be found in issue #120251. That issue will include discussion of the feature and any updates to the feature.

The Workspace Trust extension API is now in stable. This allowed us to release the first cut of our guide for onboarding your extension to Workspace Trust. The API is small, so here is a quick look.

You can declare your extension to provide complete, partial or no support in untrusted workspaces using the untrustedWorkspaces capability in package.json.

The following example declares that the extension is supported completely in untrusted workspaces. In this case, the extension is enabled in untrusted workspaces.

"capabilities": {
  "untrustedWorkspaces": {
    "supported": true
  }
}

The next example declares that the extension is not supported in untrusted workspaces. In this case, the extension is disabled in untrusted workspaces.

"capabilities": {
  "untrustedWorkspaces": {
    "supported": false
  }
}

The third option is to declared limited support. There are three tools provided to you when you select the limited option.

First, if you have a setting that can be configured in the workspace but requires the workspace to be trusted in order to apply the workspace value, then you can include the setting using restrictedConfigurations array property in untrustedWorkspaces object. Doing so, VS Code will ignore the workspace value of these restricted settings when your extension reads these settings values using the VS Code Workspace Configuration API.

The following example declares the settings that are restricted in untrusted workspaces.

"capabilities": {
  "untrustedWorkspaces": {
    "supported": "limited",
    "restrictedConfigurations": [
      "markdown.styles"
    ]
  }
}

Next, you can also check and listen if the current workspace is trusted or not programmatically using the following API:

export namespace workspace {
  /**
   * When true, the user has explicitly trusted the contents of the workspace.
   */
  export const isTrusted: boolean;
  /**
   * Event that fires when the current workspace has been trusted.
   */
  export const onDidGrantWorkspaceTrust: Event<void>;
}

Lastly, you can hide commands or views declaratively with the isWorkspaceTrusted context key in your when clauses.

A far more detailed guide on how to onboard which will be updated as we receive feedback can be found in issue #120251.

Rollout plan

We are planning on enabling this by default in the near future (most likely next release). To prepare for that day, we want to work with you to allow your editor to work seamlessly alongside the trusted workspace experience

Our Asks

The main features that should work for custom editors in an untrusted folder is rendering, viewing, and saving (if applicable). After reviewing your codebase, I believe that your extension does certain things that can be dangerous if the folder contents are malicious (i.e. executing user files as code) therefore I believe that limited is the best option. This involves listening to the trust state changes and disabling certain features in the untrusted state.

Please let me know if you have any question or would like to meet up via voice chat as I would be happy to assist you in getting your extension ready for workspace trust!

Does not work with *.dotx "Work Template"

To my knowledge, the file format in *.dotx is the same as *.docx. The main difference is saving functionality. A *.dotx since it is to be used as a template normally doesn't have a "save" option. Instead the default is "save as", to create a new file from the template.

Add an option to hide a sidebar of PDF viewer

Hi, there. Thank you for the great software! I am surprised that this project covers numerous file types.

Especially, the function previewing PDF file is the fastest in other plugins. I request adding an option to hide a sidebar of the viewer because the sidebar takes a large space of the viewer. Is it possible to implement it? Please consider this option.

Best wishes,

大纲栏能否隐藏

很感谢作者开发这款插件,不过在 VSCode 写 markdown 时,左侧的大纲栏总是显示,感觉有点占空间,请问大纲栏能否通过配置项进行关闭呢?或者类似于 typora 一样有按钮可以切换隐藏?

image

Add ods files to compatible files

Since sheetjs seems to be able to open .ods files, it would be great if .ods files (from LibreOffice) were added to compatble files.

I can make a PR. I think the code needs to be modified here : https://github.com/cweijan/vscode-office/blob/master/src/provider/officeViewerProvider.ts#L50-L52

Is it the only place the code needs to be modified ?
I tried this modification on my PC and it seems to work well.

On a sidenote, i tried this kind of modification with .odt files but unfortunately with no luck.

How to add a new column to a table?

Thanks a lot for creating this extension. It is something I was looking for a long time.

Is there a way to add a new column/row to a table, once it was automatically created (without going into the md-"sourcecode")?

How to change language from Chinese?

Beside lving next to China, We indains and so do many other ppl can't get the labels of this extension because they aren't in English. Anyway i could change it to English ?
It's a very powerful and handy extension but because we don't get chinese many ppl are unable to use it.
Plz add english language feature or if it is already plz tell how to enable it.
I can do Enlish scripting for u if u need

markdown编辑器无法正常显示任务列表

## 1.2. 操作流程
  - [x] 1. 扫描当前exe的所在的目录。找出`uvproj`的文件。
  - [x] 2. 获取`uvproj` 文件里面的生成文件信息。
  - [x] 3. 查找同名的`uvopt`文件。并尝试获取他的配置信息。
  - [x] 4. 获取flash配置信息。
      1. 如果配置信息不是AC5121 或者不存在分区信息。则**直接退出**2. 如果是AC5121,则执行下一步骤。

1.2. 操作流程

  • 1. 扫描当前exe的所在的目录。找出uvproj的文件。
  • 2. 获取uvproj 文件里面的生成文件信息。
  • 3. 查找同名的uvopt文件。并尝试获取他的配置信息。
  • 4. 获取flash配置信息。
    1. 如果配置信息不是AC5121 或者不存在分区信息。则直接退出
    2. 如果是AC5121,则执行下一步骤。

image

vscode 配置提示异常

Incorrect type. Expected "object".

"workbench.editorAssociations": [{
    "viewType": "default",
    "filenamePattern": "*.md"
}]

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.