# vscode-cmf6-snippets **Repository Path**: fossicker/vscode-cmf6-snippets ## Basic Information - **Project Name**: vscode-cmf6-snippets - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-08-31 - **Last Updated**: 2021-11-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # vscode-cmf6-snippets CMF6 Snippets for VSCode ## cmf6-template.json for html - `cmf-root` 网站根目录,不带/ - `cmf-webroot` 网站资源根目录,不带/ - `cmf-tmpl` 当前模板根目录,不带/ - `cmf-tmpl-css` 当前模板css链接 - `cmf-tmpl-js` 当前模板js链接 - `cmf-tmpl-img` 当前模板静态图片 - `cmf-js-GV` 全局变量 - `cmf-static` public/static目录,不带/ - `cmf-static-wind` wind.js - `cmf-static-frontend` 前台JS库frontend.js - `cmf-static-admin` 后台JS库admin.js - `cmf-static-font-awesome` 图标font-awesome.min.css - `cmf-include-public` 引入public下的模版 - `cmf-captcha` captcha 验证码标签 - `cmf-hook` hook 钩子标签 - `cmf-list-page` page 分页标签 - `cmf-hook-all` hook 钩子标签(带参数) - `cmf-volist` 数组数据循环输出 volist - `cmf-volist-all` 数组数据循环输出 volist - `cmf-foreach` 数组数据循环输出 foreach - `cmf-foreach-all` 数组数据循环输出 foreach - `cmf-eq` 比较标签:等于 eq - `cmf-eq-else` 比较标签:等于 eq - `cmf-neq` 比较标签:不等于 neq - `cmf-neq-else` 比较标签:不等于 neq - `cmf-gt` 比较标签:大于 gt - `cmf-egt` 比较标签:大于等于 egt - `cmf-lt` 比较标签:小于 lt - `cmf-elt` 比较标签:小于等于 elt - `cmf-heq` 比较标签:恒等于 heq - `cmf-nheq` 比较标签:不恒等于 nheq - `cmf-switch` 条件判断 switch - `cmf-switch-simple` 条件判断 switch(精简版) - `cmf-if` 条件判断 if else - `cmf-if-elseif` 条件判断 if elseif else - `cmf-if-simple` 条件判断 if else(精简版) - `cmf-in` 范围判断 in else - `cmf-notin` 范围判断 notin - `cmf-between` 范围判断 between else - `cmf-notbetween` 范围判断 notbetween - `cmf-present` 判断是否存在值 present else - `cmf-notpresent` 判断是否不存在值 notpresent - `cmf-empty` 判断是否为空 empty else - `cmf-notempty` 判断是否不为空 notempty - `cmf-defined` 判断是否定义 defined else - `cmf-notdefined` 判断是否没定义 notdefined else - `cmf-nav` 导航标签 navigation,navigationMenu,navigationFolder - `cmf-nav-level` 导航标签(带level) navigation,navigationMenu,navigationFolder - `cmf-slides` 幻灯片标签 slides - `cmf-noslides` 无幻灯片标签 noslides - `cmf-links` 友情链接标签 links - `cmf-taglib-portal` taglib 标签库 - `cmf-breadcrumb-portal` breadcrumb 面包屑标签 - `cmf-list-portal` 门户list页面模版 - `cmf-list-portal-all` 门户list页面模版(含子分类) - `cmf-portal:articles` 门户文章列表标签 - `cmf-categories-portal` categories 文章分类标签 - `cmf-categories-portal-all` categories 文章分类标签 - `cmf-allSubCategories-portal` allSubCategories 所有子分类标签 - `cmf-allSubCategories-portal-all` allSubCategories 所有子分类标签 - `cmf-subCategories-portal` subCategories 所有子分类标签 - `cmf-subCategories-portal-all` subCategories 所有子分类标签 - `cmf-portal:tagArticles` 标签文章列表标签 - `cmf-portal:tagArticles-all` 标签文章列表标签(带分页) - `cmf-article` 文章详情页(精简版) - `cmf-article-all` 文章详情页(全功能版) - `cmf-page` 单页页面详情 ## cmf6-json.json for JSON - `cmf-manifest-json` manifest.json模板描述 - `cmf-json-index` index首页模版配置文件 - `cmf-json-index-all` index首页模版配置文件(含var和widget) - `cmf-json-widget` widgets下的一个widget框架 - `cmf-json-text` vars下text变量