首页 文章 精选 留言 我的

精选列表

搜索[mac],共6154篇文章
优秀的个人博客,低调大师

Mac完美安装pygame

pygame是python的2D游戏开发库, 优点是秉承了Python风格,简单好用 最近在macOS High Sierra10.13.5上安装pygame时遇到了一些问题: pygame无法检测鼠标键盘事件 用户无法聚焦到游戏窗口 docker栏无法显示游戏图标 经过一晚上的折腾, 终于找到了正确的解决方法, 分享一下 解决方法: 通过brew安装依赖包 brew install sdl smpeg sdl_image sdl_mixer sdl_ttf portmidi hg sdl_mixer portmidi 安装xquartz https://www.xquartz.org/ pip通过github源码安装pygame 这一步非常关键, 如果使用pip pygame直接安装, docker栏无法显示游戏的图标, 并且无法检测键盘事件 pip install https://github.com/pygame/pygame/archive/master.zip 官方Demo检验效果 python -m pygame.examples.aliens

优秀的个人博客,低调大师

Android studio快捷键Mac版本

为了方便大家记住这些小技巧和快捷键,我把它写成了一个插件,欢迎大家下载使用:http://chunsheng.me/EasyShortcut/ 快捷键 描述 通用--------------------------------------------- Command + F9 Build(编译) Control + R Build and run(编译运行) Control + D Debug(调试) Command + Option + Y Synchronize(同步) Control + Command + F12 Maximize/minimize editor(最大化/最小化编辑器) Control + ` (backquote) Quick switch scheme(快速切换主题) Command + , (comma) Open settings dialogue(打开设置对话框) Command + ; (semicolon) Open project structure dialog(打开项目对话框) Control + Tab Switch between tabs and tool window(标签和工具栏切换) 导航和搜索----------------------------------------- Press Shift twice Search everything (including code and menus)(全局搜索) Command + F Find(查找) Command + G Find next(查找下一个) Command + Shift + G Find previous(查找上一个) Command + R Replace(替换) Command + O Find class(搜索类) Command + Shift + O Find file (instead of class)(搜索文件) Command + F12 Open file structure pop-up(弹出所打开文件的结构) Control + Right/Left Arrow Navigate(导航) between open editor tabs F4 / Command + Down Arrow Jump to source(跳到源码) Shift + F4 Open current editor tab in new window(新窗口打开编辑选项卡) Command + E Recently opened files pop-up(弹出最近打开文件) Command + Shift + E Recently edited files pop-up(弹出最近编辑文件) Command + Shift + Backspace Go to last edit location(最后编辑位置) Command + W Close active editor tab(关闭当前编辑选项卡) Esc Return to editor window from a tool window(回到编辑窗口) Shift + Esc Hide active or last active tool window(隐藏最近活动窗口) Command + L Go to line(跳转到行) Control + H Open type hierarchy(打开类层次结构) Command + Shift + H Open method hierarchy(打开方法层次结构) Control + Option + H Open call hierarchy(打开调用层次结构) 写代码必备------------------------------------------ Command + N Generate code (getters, setters, constructors, etc....) Control + O Override methods(重写方法) Control + I Implement methods(实现方法) Command + Option + T Surround with (if...else / try...catch / etc.) Command + minus/plus Collapse/expand current code block(折叠/展开代码块) Command + Shift + minus/plus Collapse/expand all code blocks(折叠/展开所有代码块) Command + D Duplicate current line or selection(复制当前行) Control + Space Basic code completion(基本代码补全) Control + Shift + Space Smart code completion (filters the list of methods and variables by expected type)(自动代码补全) Command + P Show parameters for selected method(显示方法参数) Command + U Go to super-method/super-class(跳转父类/方法) Command + Y Open quick definition lookup(打开快速定义查找) Command + Option + L Reformat code(格式化代码) Control + Option + I Auto-indent lines(自动缩进行) Control + Shift + J Smart line join(自动合并行) Command + Enter Smart line split(自动拆分行) 版本管理---------------------------------------------- Command + K Commit project to VCS(提交代码到版本管理系统) Command + T Update project from VCS(从版本系统更新项目) Option + Shift + C View recent changes(最近修改文件) Control + V Open VCS popup(弹出版本管理)

资源下载

更多资源
Mario

Mario

马里奥是站在游戏界顶峰的超人气多面角色。马里奥靠吃蘑菇成长,特征是大鼻子、头戴帽子、身穿背带裤,还留着胡子。与他的双胞胎兄弟路易基一起,长年担任任天堂的招牌角色。

腾讯云软件源

腾讯云软件源

为解决软件依赖安装时官方源访问速度慢的问题,腾讯云为一些软件搭建了缓存服务。您可以通过使用腾讯云软件源站来提升依赖包的安装速度。为了方便用户自由搭建服务架构,目前腾讯云软件源站支持公网访问和内网访问。

Spring

Spring

Spring框架(Spring Framework)是由Rod Johnson于2002年提出的开源Java企业级应用框架,旨在通过使用JavaBean替代传统EJB实现方式降低企业级编程开发的复杂性。该框架基于简单性、可测试性和松耦合性设计理念,提供核心容器、应用上下文、数据访问集成等模块,支持整合Hibernate、Struts等第三方框架,其适用范围不仅限于服务器端开发,绝大多数Java应用均可从中受益。

WebStorm

WebStorm

WebStorm 是jetbrains公司旗下一款JavaScript 开发工具。目前已经被广大中国JS开发者誉为“Web前端开发神器”、“最强大的HTML5编辑器”、“最智能的JavaScript IDE”等。与IntelliJ IDEA同源,继承了IntelliJ IDEA强大的JS部分的功能。

用户登录
用户注册