ctrl+shift+p filters: :st2 :st3 :win :osx :linux
浏览

全屏状态

maliayas ALL

通过编程方式检测Sublime Text是否正在全屏或免干扰模式运行

标签 全屏, 免干扰

详细信息

  • 2.0.1
  • github.com
  • github.com
  • 11年前
  • 59分钟前
  • 11年前

安装量

  • 总数 3K
  • Win 1K
  • Mac 1K
  • Linux 403
8月6日 8月5日 8月4日 8月3日 8月2日 8月1日 7月31日 7月30日 7月29日 7月28日 7月27日 7月26日 7月25日 7月24日 7月23日 7月22日 7月21日 7月20日 7月19日 7月18日 7月17日 7月16日 7月15日 7月14日 7月13日 7月12日 7月11日 7月10日 7月9日 7月8日 7月7日 7月6日 7月5日 7月4日 7月3日 7月2日 7月1日 6月30日 6月29日 6月28日 6月27日 6月26日 6月25日 6月24日 6月23日
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 1 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
012348月6日8月3日7月31日7月28日7月25日7月22日7月19日7月16日7月13日7月10日7月7日7月4日7月1日6月28日6月25日8月6日 Linux: 0 Mac: 1 Windows: 08月5日 Linux: 0 Mac: 1 Windows: 08月4日 Linux: 0 Mac: 0 Windows: 08月3日 Linux: 0 Mac: 0 Windows: 08月2日 Linux: 0 Mac: 0 Windows: 08月1日 Linux: 0 Mac: 0 Windows: 07月31日 Linux: 0 Mac: 0 Windows: 07月30日 Linux: 0 Mac: 0 Windows: 07月29日 Linux: 0 Mac: 0 Windows: 07月28日 Linux: 0 Mac: 0 Windows: 07月27日 Linux: 0 Mac: 0 Windows: 07月26日 Linux: 0 Mac: 0 Windows: 07月25日 Linux: 0 Mac: 1 Windows: 07月24日 Linux: 0 Mac: 0 Windows: 07月23日 Linux: 0 Mac: 0 Windows: 07月22日 Linux: 0 Mac: 0 Windows: 07月21日 Linux: 0 Mac: 0 Windows: 07月20日 Linux: 0 Mac: 0 Windows: 07月19日 Linux: 0 Mac: 0 Windows: 07月18日 Linux: 0 Mac: 0 Windows: 07月17日 Linux: 0 Mac: 0 Windows: 07月16日 Linux: 0 Mac: 0 Windows: 07月15日 Linux: 0 Mac: 0 Windows: 07月14日 Linux: 0 Mac: 0 Windows: 07月13日 Linux: 0 Mac: 0 Windows: 07月12日 Linux: 0 Mac: 0 Windows: 07月11日 Linux: 0 Mac: 0 Windows: 07月10日 Linux: 0 Mac: 0 Windows: 07月9日 Linux: 0 Mac: 0 Windows: 07月8日 Linux: 0 Mac: 0 Windows: 07月7日 Linux: 0 Mac: 0 Windows: 07月6日 Linux: 0 Mac: 0 Windows: 07月5日 Linux: 0 Mac: 0 Windows: 07月4日 Linux: 0 Mac: 0 Windows: 07月3日 Linux: 0 Mac: 0 Windows: 07月2日 Linux: 0 Mac: 0 Windows: 07月1日 Linux: 0 Mac: 0 Windows: 06月30日 Linux: 0 Mac: 1 Windows: 06月29日 Linux: 0 Mac: 0 Windows: 06月28日 Linux: 0 Mac: 0 Windows: 06月27日 Linux: 0 Mac: 0 Windows: 06月26日 Linux: 0 Mac: 0 Windows: 06月25日 Linux: 0 Mac: 0 Windows: 06月24日 Linux: 0 Mac: 0 Windows: 06月23日 Linux: 0 Mac: 0 Windows: 08月6日 Linux: 0 Mac: 1 Windows: 08月5日 Linux: 0 Mac: 1 Windows: 08月4日 Linux: 0 Mac: 0 Windows: 08月3日 Linux: 0 Mac: 0 Windows: 08月2日 Linux: 0 Mac: 0 Windows: 08月1日 Linux: 0 Mac: 0 Windows: 07月31日 Linux: 0 Mac: 0 Windows: 07月30日 Linux: 0 Mac: 0 Windows: 07月29日 Linux: 0 Mac: 0 Windows: 07月28日 Linux: 0 Mac: 0 Windows: 07月27日 Linux: 0 Mac: 0 Windows: 07月26日 Linux: 0 Mac: 0 Windows: 07月25日 Linux: 0 Mac: 1 Windows: 07月24日 Linux: 0 Mac: 0 Windows: 07月23日 Linux: 0 Mac: 0 Windows: 07月22日 Linux: 0 Mac: 0 Windows: 07月21日 Linux: 0 Mac: 0 Windows: 07月20日 Linux: 0 Mac: 0 Windows: 07月19日 Linux: 0 Mac: 0 Windows: 07月18日 Linux: 0 Mac: 0 Windows: 07月17日 Linux: 0 Mac: 0 Windows: 07月16日 Linux: 0 Mac: 0 Windows: 07月15日 Linux: 0 Mac: 0 Windows: 07月14日 Linux: 0 Mac: 0 Windows: 07月13日 Linux: 0 Mac: 0 Windows: 07月12日 Linux: 0 Mac: 0 Windows: 07月11日 Linux: 0 Mac: 0 Windows: 07月10日 Linux: 0 Mac: 0 Windows: 07月9日 Linux: 0 Mac: 0 Windows: 07月8日 Linux: 0 Mac: 0 Windows: 07月7日 Linux: 0 Mac: 0 Windows: 07月6日 Linux: 0 Mac: 0 Windows: 07月5日 Linux: 0 Mac: 0 Windows: 07月4日 Linux: 0 Mac: 0 Windows: 07月3日 Linux: 0 Mac: 0 Windows: 07月2日 Linux: 0 Mac: 0 Windows: 07月1日 Linux: 0 Mac: 0 Windows: 06月30日 Linux: 0 Mac: 1 Windows: 06月29日 Linux: 0 Mac: 0 Windows: 06月28日 Linux: 0 Mac: 0 Windows: 06月27日 Linux: 0 Mac: 0 Windows: 06月26日 Linux: 0 Mac: 0 Windows: 06月25日 Linux: 0 Mac: 0 Windows: 06月24日 Linux: 0 Mac: 0 Windows: 06月23日 Linux: 0 Mac: 0 Windows: 08月6日 Linux: 0 Mac: 1 Windows: 08月5日 Linux: 0 Mac: 1 Windows: 08月4日 Linux: 0 Mac: 0 Windows: 08月3日 Linux: 0 Mac: 0 Windows: 08月2日 Linux: 0 Mac: 0 Windows: 08月1日 Linux: 0 Mac: 0 Windows: 07月31日 Linux: 0 Mac: 0 Windows: 07月30日 Linux: 0 Mac: 0 Windows: 07月29日 Linux: 0 Mac: 0 Windows: 07月28日 Linux: 0 Mac: 0 Windows: 07月27日 Linux: 0 Mac: 0 Windows: 07月26日 Linux: 0 Mac: 0 Windows: 07月25日 Linux: 0 Mac: 1 Windows: 07月24日 Linux: 0 Mac: 0 Windows: 07月23日 Linux: 0 Mac: 0 Windows: 07月22日 Linux: 0 Mac: 0 Windows: 07月21日 Linux: 0 Mac: 0 Windows: 07月20日 Linux: 0 Mac: 0 Windows: 07月19日 Linux: 0 Mac: 0 Windows: 07月18日 Linux: 0 Mac: 0 Windows: 07月17日 Linux: 0 Mac: 0 Windows: 07月16日 Linux: 0 Mac: 0 Windows: 07月15日 Linux: 0 Mac: 0 Windows: 07月14日 Linux: 0 Mac: 0 Windows: 07月13日 Linux: 0 Mac: 0 Windows: 07月12日 Linux: 0 Mac: 0 Windows: 07月11日 Linux: 0 Mac: 0 Windows: 07月10日 Linux: 0 Mac: 0 Windows: 07月9日 Linux: 0 Mac: 0 Windows: 07月8日 Linux: 0 Mac: 0 Windows: 07月7日 Linux: 0 Mac: 0 Windows: 07月6日 Linux: 0 Mac: 0 Windows: 07月5日 Linux: 0 Mac: 0 Windows: 07月4日 Linux: 0 Mac: 0 Windows: 07月3日 Linux: 0 Mac: 0 Windows: 07月2日 Linux: 0 Mac: 0 Windows: 07月1日 Linux: 0 Mac: 0 Windows: 06月30日 Linux: 0 Mac: 1 Windows: 06月29日 Linux: 0 Mac: 0 Windows: 06月28日 Linux: 0 Mac: 0 Windows: 06月27日 Linux: 0 Mac: 0 Windows: 06月26日 Linux: 0 Mac: 0 Windows: 06月25日 Linux: 0 Mac: 0 Windows: 06月24日 Linux: 0 Mac: 0 Windows: 06月23日 Linux: 0 Mac: 0 Windows: 0

Readme

源代码
raw.githubusercontent.com

全屏状态

全屏状态 是一个用于其他插件的Sublime Text插件。它有助于检测Sublime Text是否正在 全屏 模式,免干扰 模式或正常模式。当前Sublime Text版本(ST 3 Build 3047)不通过其API提供此信息。

概览

安装

包控制

首选安装方法是通过 Sublime Package Control

  1. 安装 包控制
  2. 使用 Ctrl Shift P 打开命令面板
  3. 输入 install package 并按回车。将显示可用包的列表。
  4. 输入 全屏状态 并按回车。该包将被下载到相应的目录。

使用 Git

  1. 进入您的 目录。您可以通过使用菜单项 首选项 > 浏览包… 找到您的 目录。
  2. 目录内,使用以下命令克隆 FullScreenStatus 存储库

    git clone https://github.com/maliayas/SublimeText_FullScreenStatus.git FullScreenStatus
    

用法

import sublime

if sublime.active_window().settings().get('fss_on_full_screen'):
    # ST is running on full screen.

if sublime.active_window().settings().get('fss_on_distraction_free'):
    # ST is running on distraction free mode.

源代码

该项目的源代码托管在 https://github.com/maliayas/SublimeText_FullScreenStatus。欢迎通过拉取请求进行贡献。

许可证

全屏状态在 MIT许可证 下发布。