菜单栏Navigate -> File Structure

https://www.jetbrains.com/help/webstorm/viewing-structure-of-a-source-file.html

You can examine the structure of the file currently opened in the editor using the Structure tool window (Alt+7) or the Structure popup (Ctrl+F12).

Alt+7是固定在左侧栏,ctrl+F12是弹窗显示

以下的示例,

<tr>
<td>Avatar</td>
<td><input type="hidden" name="ctl00$cphMain$ucProfile$Avatar$hffulList"
id="ctl00_cphMain_ucProfile_Avatar_hffulList"
value="[{&quot;FileName&quot;:&quot;3004057.png&quot;,&quot;Size&quot;:&quot;1550&quot;,&quot;ContentType&quot;:&quot;image/png&quot;,&quot;PhysicalName&quot;:&quot;7778181a-1dad-4898-9c21-df416f812405.png&quot;,&quot;NewPhysicalName&quot;:null,&quot;FileuploadId&quot;:&quot;0&quot;,&quot;FilePath&quot;:null}]">
<script type="text/javascript">$(function () {
function JsonToString(json) {
var str = '';
for (var key in json) {
if (json[key] == null) {
str = str + ',"' + key + '":' + json[key];
} else {
str = str + ',"' + key + '":' + '"' + json[key] + '"';
}
}
if (str.length > 0) {
str = str.substring(1);
str = '{' + str + '}';
}
return str;
};
function JsonArrayToString(jsonAry) {
var str = '';
var strItem;
for (var i = 0; i < jsonAry.length; i++) {
strItem = JsonToString(jsonAry[i]);
if (strItem.length > 0) {
str = str + ',' + strItem;
}
}
if (str.length > 0) {
str = str.substring(1);
str = '[' + str + ']';
}
return str;
};
$(document).on('click', '.LISA_FileuploadResultFileAction', function () {
var $trDel = $(this).parent().parent();
var jsonAry = jQuery.parseJSON($('#ctl00_cphMain_ucProfile_Avatar_hffulList').val());
var jsonItem = jsonAry[$trDel.index()];
jsonAry.splice($trDel.index(), 1);
$('#ctl00_cphMain_ucProfile_Avatar_hffulList').val(JsonArrayToString(jsonAry));
$trDel.remove();
if ($('#ctl00_cphMain_ucProfile_Avatar_hffulList').val().length = 0) $('#Avatar_Result').hide();
});
$('#Avatar').fileupload({
maxChunkSize: 1048576,
paramName: '1f041c67-b5db-4599-a9ab-3f1614a651b5',
url: 'http://172.31.212.20/LISA_60_Dev_BackOffice/Pages/jQueryHandler.ashx',
dataType: 'json',
add: function (e, data) {
$('#Avatar_ProcessContent').css('width', '0%').html('');
$('#Avatar_ProcessWrap').show();
var acceptFileTypes = /(\.)(png|gif|jpeg|jpg|pdf|bmp|xls|xlsx|doc|docx|ppt|pptx|zip|rar)$/i;
var ext = data.originalFiles[0]['name'].substr(data.originalFiles[0]['name'].lastIndexOf(".")).toLowerCase();
if (ext.length > 0 && acceptFileTypes.test(ext)) {
data.submit();
} else {
$('#Avatar_ProcessWrap').hide();
alert('Not an accepted file type');
}
},
done: function (e, data) {
var newItem = data.result;
$('#Avatar_ProcessWrap').hide();
if ($('#ctl00_cphMain_ucProfile_Avatar_hffulList').val().length == 0) {
var newItemStr = JsonToString(newItem);
newItemStr = '[' + newItemStr + ']';
$('#ctl00_cphMain_ucProfile_Avatar_hffulList').val(newItemStr);
} else {
var jsonAry = jQuery.parseJSON($('#ctl00_cphMain_ucProfile_Avatar_hffulList').val());
jsonAry.push(newItem);
$('#ctl00_cphMain_ucProfile_Avatar_hffulList').val(JsonArrayToString(jsonAry));
}
var action = '';
action = '<td><a href="javascript:void(0);" class="LISA_FileuploadResultFileAction">Delete</a></td>';
$('#Avatar_Result').append('<tr><td><a href="/LISA_60_Dev_BackOffice/FileTemps/' + newItem.PhysicalName + '" target="_black">' + newItem.FileName + '</a></td><td>' + newItem.Size + '&nbsp;Byte</td><td>' + newItem.ContentType + '</td>' + action + '</tr>');
$('#Avatar_Result').show();
},
progressall: function (e, data) {
var progress = parseInt(data.loaded / data.total * 100, 10);
$('#Avatar_ProcessContent').css('width', progress + '%').html(progress + '%');
},
});
});</script>
<input id="Avatar" type="file">
<div id="Avatar_ProcessWrap" class="LISA_FileuploadProcessWrap" style="display: none;">
<div id="Avatar_ProcessContent" class="LISA_FileuploadProcessContent" style="width: 100%;">100%</div>
</div>
<table id="Avatar_Result" class="gridview" style="">
<tr>
<td><a href="/LISA_60_Dev_BackOffice/FileTemps/7778181a-1dad-4898-9c21-df416f812405.png"
target="_black">3004057.png</a></td>
<td>1550&nbsp;Byte</td>
<td>image/png</td>
<td><a href="javascript:void(0);" class="LISA_FileuploadResultFileAction">Delete</a></td>
</tr>
</table>
</td>
</tr>

tr有两个td

第二个td包含5个元素,分别是

input type是hidden

script  type是JavaScript

input  type 是file,一个按钮,弹窗选择文件

div  显示进度条

table  显示上传过的文件

文件结构的icon含义

https://www.jetbrains.com/help/webstorm/symbols.html

Icons in tool windows and structure views #

Icon

Description

Class

Abstract class

Interface

Method/function

Function in Dart

Variable

Field

Property

Parameter

Element

Directory

Tests

Resource root

Excluded

Visibility modifiers

Private

Protected

Public

Bookmarks

Anonymous bookmark – a check sign bookmark. Bookmarks are used for quick navigation within a file or across the entire project.

Lettered mnemonic bookmark – a letter in the interval from A to Z.

Numbered mnemonic bookmark – a number in the interval from 0 to 9.

web storm查看文件结构的更多相关文章

  1. web storm使用和配置

    官网:http://www.jetbrains.com/webstorm/ webStorm,File=>setting=>JavaScript-Libraries How WebStor ...

  2. Druid 配置及内置监控,Web页面查看监控内容 【我改】

    转: Druid 配置及内置监控,Web页面查看监控内容 1.配置Druid的内置监控 首先在Maven项目的pom.xml中引入包 1 2 3 4 5 <dependency>      ...

  3. CentOS6.8下搭建zookeeper web界面查看工具node-zk-browser

    zookeeper的web界面查看工具Node-ZK-Browser的界面是用nodejs写的今天试着搭建了下. 1. 安装nodejs [root@localhost product]# pwd / ...

  4. 通过web界面查看hadoop集群运行日志的地址

    通过web界面查看hadoop集群运行日志的地址: http://hostname:8088/logs/ SecurityAuth-root.audit 0 bytes  Aug 27, 2016 5 ...

  5. 关于Web界面查看日志的权限问题

    关于Web界面查看日志的权限问题 @(Hadoop) 访问集群的8088端口,通过web ui查看作业日志时,发现没有权限查看,8088主界面右上角显示Logged in as : dr.who,即匿 ...

  6. 该页必须使用安全性较高的Web 浏览器查看

    当用https访问某个网站时,IE提醒“该页必须使用安全性较高的Web 浏览器查看” 您要访问的资源使用了128位版本的“安全套接层(SSL)” 安全保护.要查看该资源,您需要使用支持该版本的SSL浏 ...

  7. Python 简易web日志查看工具&可改装为命令行工具

    Python 简易web日志查看工具&可改装为命令行工具 效果图 原理 利用python的paramiko库模拟ssh登录操作,并执行tail命令 所需库 flask.paramiko.gev ...

  8. hadoop2.X使用手册1:通过web端口查看主节点、slave1节点及集群运行状态

    导读内容:1.如何通过web查看hdfs集群状态2.如何通过web查看运行在在主节点master上ResourceManager状态3.如何通过web查看运行在在slave节点NodeManager资 ...

  9. Tomcat中的webapps中的web应用的文件结构

    可仿造Tomcat中的webapps下的已有web应用的例子 具体文件结构如下:

随机推荐

  1. 建立 Active Directory域 ----学习笔记

    第五章 建立 Active Directory域 1.工作组和域的理解 ​ a.工作组是一种平等身份环境,各个计算机之间各个为一个独立体,不方便管理和资源共享. ​ b.域环境一般情况下满足两类需求, ...

  2. [Python3] 008 列表内涵,“满腹经纶”

    目录 简述 少废话,上例子 例1 用 for 创建列表 例2 看看乘法"向"着谁 例3 给列表加一张"滤纸" 例4 列表生成式可以嵌套 例5 列表生式还能嵌入条 ...

  3. (4.30)全面了解触发器:DML、DDL、LOGON触发器

    DML.DDL.LOGON触发器 转自:https://www.cnblogs.com/seusoftware/p/9120632.html 触发器可以理解为由特定事件触发的存储过程, 和存储过程.函 ...

  4. 硬核!如何模拟 5w+ 的并发用户?

    来自:http://t.cn/ES7KBkW 本文将从负载测试的角度,描述了做一次流畅的5万用户并发测试需要做的事情. 你可以在本文的结尾部分看到讨论的记录. 快速的步骤概要 编写你的脚本 使用JMe ...

  5. require 和 import 详解

    前言 JS模块化编程是前端小伙伴们必不可少的知识,下面妹子将于自认为比较清晰的方式列举出来. 1 require 特点: 1.运行时加载 2.拷贝到本页面 3.全部引入 1.1 CommonJS No ...

  6. MicroPython 的优势

    定位的场景 MicroPython 在设计上最初就是为了嵌入式微处理器运行,例如在 nRF51822 (256kB flash + 16kB RAM) 的芯片上也可以运行起来,也有人肾得慌在 STM3 ...

  7. 【新手向】一个超简单的基于jQuery ajax的天气预报Demo

    <!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8&quo ...

  8. meter标签度量衡如何改变颜色

    此文章为转载,目的为了方便整理学习笔记. 在meter中要想改变颜色,需要用到五个值,分别是:min(最小值).max(最大值).low.high.value和optimum,其中前四个值会把整个进度 ...

  9. RocketMQ集群部署安装

    RcoketMQ:[ 1.低延时:在高压下,1毫秒内超过99.6%的反应延迟. 2.面向金融:具有跟踪和审计功能的高可用性. 3.行业可持续发展:保证了万亿级的消息容量. 4.厂商中立:一个新的开放的 ...

  10. 洛谷 P2783 有机化学之神偶尔会做作弊(Tarjan,LCA)

    题目背景 LS中学化学竞赛组教练是一个酷爱炉石的人. 有一天他一边搓炉石一边监考,而你作为一个信息竞赛的大神也来凑热闹. 然而你的化竞基友却向你求助了. “第1354题怎么做”<--手语 他问道 ...